Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Re: Re: (stephen) Hash Tutorialby broquaint (Abbot) |
on Apr 28, 2003 at 12:21 UTC ( [id://253661]=note: print w/replies, xml ) | Need Help?? |
What you want in your snippet there is a grep() not map() as you're filtering out items not applying transforms to them e.g
Also note that the map() in your snippet is returning a list of three items - a 1 and two empty strings. HTH
_________
In Section
Seekers of Perl Wisdom
|
|