firstkey#
Tied-hash iterator: reset and return the first key.
Synopsis#
my @keys = keys %Config; # triggers FIRSTKEY + NEXTKEY
while (my ($k, $v) = each %Config) { ... }
What you get back#
The first key in the internal iteration order, or undef if the
hash is empty.
Edge cases#
Iteration order is unspecified; never rely on it.
Calling
FIRSTKEYresets aNEXTKEYwalk in progress.
Differences from upstream#
Fully compatible with upstream.