http://qs321.pair.com?node_id=823383


in reply to Re^2: Unpack Many Fields
in thread Unpack Many Fields

I think it has to be something like
$fmt =~ s/(?:#.*)|\n|\s//g;
Thanks to both of you!
My code is already looking much better.
Cheers!