Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2016-10-21 01:07 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (284 votes). Check out past polls.