Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Persistence of a filehandle for a large file with varying formats

by pmqs (Monk)
on Jan 25, 2013 at 13:39 UTC ( #1015349=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    my $fh = new IO::Uncompress::Gunzip "input file",
        or die "Cannot open file ..." ;
    
    my $line = <$fh> ;
    
  2. or download this
    
    my $fh = new IO::Uncompress::Gunzip "input file",
    ...
        or die "Cannot open file ..." ;
    
    my $line = <$fh> ;
    
  3. or download this
    sub rewind
    {
    ...
    }
    
    rewind($fh, "somefile");
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2014-08-28 06:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (257 votes), past polls