more useful options | |
PerlMonks |
Re: Challenge: Reading Banner Textby TomDLux (Vicar) |
on Aug 26, 2010 at 17:27 UTC ( [id://857518]=note: print w/replies, xml ) | Need Help?? |
My preference was to generate each character, one by one, split the seven lines and use them as a 7-dimensional hash key leading to the resultant character. I would simply got through all 255 characters of ASCII. Of course, if they can use Unicode, you have a problem. Then read the file, 7 lines at a time, get 8 character wide substrings from each line, and look up the corresponding character. As Occam said: Entia non sunt multiplicanda praeter necessitatem.
In Section
Seekers of Perl Wisdom
|
|