Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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

by pmqs (Friar)
on Jan 25, 2013 at 13:39 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1015349]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-25 23:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found