Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: cat vs. file handle speed?

by Adam (Vicar)
on Mar 30, 2001 at 06:06 UTC ( [id://68263]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open(INFILE,"cat textfile |")
    while(<INFILE>) {...}
    
  2. or download this
    open(INFILE,"textfile")
    while(<INFILE>) {...}
    
  3. or download this
    system("cat textfile | filter.pl")
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-03-29 00:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found