Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 chanting in the Monastery: (4)
As of 2024-06-20 21:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.