Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Extract lines and output...

by jeroenes (Priest)
on Oct 10, 2001 at 00:09 UTC ( #117851=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while(<>){
      next if $. <4;
      #codeblockdoingsomeotherthings
      print;
    }
    
  2. or download this
    #1 slurping the whole thing in memory, and splice 
    @file = <>;
    ...
      #...
      print;
    } 
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2016-07-24 17:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (221 votes). Check out past polls.