Copyright © tutorialspoint.com
Syntax
Definition and UsageWhen called in list context, returns a 2-element list consisting of the key and value for the next element of a hash, so that you can iterate over it. When called in scalar context, returns only the key for the next element in the hash. Return Value
ExampleFollowing are the usage...This will print out all the environment variables.
|
Copyright © tutorialspoint.com