http://qs1969.pair.com?node_id=849587


in reply to big job, starting with little script

You're [also] looking up $_, but reading into $line. Try
while(<FILE>)
instead.

Caution: Contents may have been coded under pressure.