Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: Parsing attributes in one line using mapby jhourcle (Prior) |
on Sep 25, 2006 at 13:38 UTC ( [id://574732]=note: print w/replies, xml ) | Need Help?? |
Returning more (or less even) elements than provided is very natural for map and very commonly used, especially for generating hashes .. For those not familiar with returning less -- use an empty list (). To build on davidrw's example:
In Section
Cool Uses for Perl
|
|