![]() |
|
Syntactic Confectionery Delight | |
PerlMonks |
Re^3: secret code generatorby Hofmator (Curate) |
on Dec 19, 2006 at 10:28 UTC ( #590638=note: print w/replies, xml ) | Need Help?? |
Simpler, yes. Easier to understand, no - unless you use ASCII codes all day long.
Also, note BrowserUK's solution, your map can be written simply as map chr, 0x21 .. 0x7e; Update: BrowserUK noted himself :) -- Hofmator Code written by Hofmator and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.
In Section
Seekers of Perl Wisdom
|
|