10 lines of code to do that in Perl sounds a bit excessive!
Obviously I'm not entirely sure exactly what you were doing, but it seems to me that with split and pack you could probably do it in about two lines.
Dave...
In reply to RE: COBOL vs. Perl
by davorg
in thread COBOL vs. Perl
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |