Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Read Some lines in Tera byte file

by cdarke (Prior)
on Oct 13, 2010 at 08:32 UTC ( #865042=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    This is line 1
    This is line 2
    This is line 3
    
  2. or download this
    This is line 1\nThis is line 2\nThis is line 3\n
    
  3. or download this
    open (my $zip, '-|', 'gzip -dc compressed_file.gz') ||
          die "Can't run gzip: $!";
    ...
      # do some stuff
    }
    close $zip;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2014-12-25 21:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (163 votes), past polls