in reply to Maintainable code is the best code Part II

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;
--
<http://www.dave.org.uk>

"The first rule of Perl club is you don't talk about Perl club."