while (($key, $value) = each %hash) { print $key, "\n"; }
After "each" has returned all entries from the hash or array,
the next call to "each" returns the empty list in list context
and "undef" in scalar context. The next call following that
one restarts iteration. In reply to Re^2: [stonehenge] deep copy what's the function getpwent()
by Anonymous Monk
in thread [stonehenge] deep copy what's the function getpwent()
by Thai Heng
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |