The stupid question is the question not asked | |
PerlMonks |
Re^3: Seek one liner for distributing an integerby sleepingsquirrel (Chaplain) |
on Sep 22, 2004 at 16:16 UTC ( [id://392955]=note: print w/replies, xml ) | Need Help?? |
Apparently, map + regexps can do anything!I'm pretty sure perl's flavor of regular expressions are turing complete, so you could do it all without the map. (I guess that would make them trans-regular expressions. Anyone got a better name?) -- All code is 100% tested and functional unless otherwise noted.
In Section
Seekers of Perl Wisdom
|
|