Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: Re: Extracting Header

by Chmrr (Vicar)
on Aug 06, 2002 at 19:35 UTC ( #188133=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w;
    open IN, "file.in" or die "file.in: $!";
    open OUT, ">file.out" or die ">file.out: $!"
    ...
    }
    close IN;
    close OUT;
    
  2. or download this
    #!/usr/bin/perl -ni.bak
    if ($_ =~ /^\d/) {
      print $_;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2015-01-26 07:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (186 votes), past polls