Personally I wouldn't use the array slice on the return from unpack, I'd use x in the template definition to ignore the data completely.
--@hash{@colNames) = unpack 'A2A4x4A4', $line;
"The first rule of Perl club is you don't talk about Perl club."
In reply to Re: Maintainable code is the best code Part II
by davorg
in thread Maintainable code is the best code Part II
by dragonchild
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |