Do you know where your variables are? | |
PerlMonks |
Re: Re: Process string as Arrayby Somni (Friar) |
on May 29, 2004 at 15:29 UTC ( [id://357483]=note: print w/replies, xml ) | Need Help?? |
Recent changes to unpack (added in 5.8.0) have made splitting a string into groups much easier.
Though your code is slightly different; the final "fo" is tacked onto the end of the last element, whereas with the above it's a new element.
In Section
Seekers of Perl Wisdom
|
|