Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

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]
[Discipulus]: to eat, no? grin
[Eily]: hu, don't tell the other French people I never tried it, I might get kicked out :P
choroba . o O ( The Czech at-sign is also edible )
[Eily]: the French @ is a mouthful I guess...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2017-11-21 10:51 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (297 votes). Check out past polls.