in reply to Re: Search and replace on a 130000+ line file.
in thread Search and replace on a 130000+ line file.

For whatever reason, the line:
open(IN, "<".shift) or die;
doesn't work for me in ActiveState Perl 5.6 /NT workstation when I call the above program as
perl tempo.pl ip.dat djb.dat

However, the program works great when I replace that line with:

open(IN, "<ip.dat") or die;
and call it as:
perl tempo.pl djb.dat