but map only works on array according to the manpageNo, map works on lists.
but each is just demented...1 item at a time...w/no slurp-abilityNo, each fills a specific, useful niche. You are forgetting that a hash in list context returns its keys and values:
@array=%hash;
Dave.
In reply to Re^3: A brain twister? (how to make 2 lines->1)
by dave_the_m
in thread A brain twister? (how to make 2 lines->1)
by perl-diddler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |