Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Assigning an array to a scalarby hostyle (Scribe) |
on Sep 25, 2004 at 18:16 UTC ( [id://393823]=note: print w/replies, xml ) | Need Help?? |
My poor effort. Seeing as map was already used I went for while / shift.
I thought shift should return the array element, so why do I need to use $_ = shift ... ?
In Section
Seekers of Perl Wisdom
|
|