Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re: Search and replace on a 130000+ line file.

by sierrathedog04 (Hermit)
on May 11, 2001 at 23:05 UTC ( [id://79815]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://79815]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-04-24 22:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found