Perl Monk, Perl Meditation | |
PerlMonks |
Re^2: Split tags and words nicelyby logie17 (Friar) |
on Dec 28, 2006 at 21:04 UTC ( [id://592137]=note: print w/replies, xml ) | Need Help?? |
Along the same lines, here's something that is completely regex and no join or split is needed. Probably could be obfuscated even more :)
Prints the following:
Cheers!
s;;5776?12321=10609$d=9409:12100$xx;;s;(\d*);push @_,$1;eg;map{print chr(sqrt($_))."\n"} @_;
In Section
Seekers of Perl Wisdom
|
|