Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Replacing whitespaces with a regexby ISAI student (Scribe) |
on Mar 04, 2013 at 16:24 UTC ( [id://1021672]=note: print w/replies, xml ) | Need Help?? |
There is, of course, more than 1 to do it.
My favorite is:
It uses the @array, which makes the code more readable, and PERL's great map function for 1 liners.
In Section
Seekers of Perl Wisdom
|
|