Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Find characters in ALL stringsby Roy Johnson (Monsignor) |
on Sep 20, 2007 at 20:28 UTC ( [id://640228]=note: print w/replies, xml ) | Need Help?? |
If there's some character you can guarantee is not in the strings (so that you can use as a separator — I chose space), you could do
Not really elegant; I just thought it was a nifty one-liner. Caution: Contents may have been coded under pressure.
In Section
Seekers of Perl Wisdom
|
|