in reply to Unpack and Print NEW

Your code does not even compile:

X:\>perl 1197885.pl Global symbol "$line" requires explicit package name at 1197885.pl lin +e 8. Global symbol "$line" requires explicit package name at 1197885.pl lin +e 9. Unrecognized character \x91; marked by <-- HERE after $line .= <-- H +ERE near column 12 at 1197885.pl line 9. X:\>

Please post the actual code using copy & paste. And by the way: Stupid quotes (“”) and standard quotes (") are not exchangeable in Perl.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)