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

Re: Cut off beginning lines of a file

by chas (Priest)
on May 19, 2005 at 19:12 UTC ( [id://458743]=note: print w/replies, xml ) Need Help??


in reply to Cut off beginning lines of a file

You could do something like:
{ my $i; while(<>){$i++;print if $i>32;} }

You didn't say what you wished to do with the output, but you could direct the print to a file, etc.
chas

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-03-28 20:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found