Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Re: Save all but line 32!

by jmcnamara (Monsignor)
on Sep 19, 2002 at 07:59 UTC ( [id://199096]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        $ perl -MO=Deparse  -pe '$_=$'
    
        LINE: while (defined($_ = <ARGV>)) {
    ...
        continue {
            die "-p destination: $!\n" unless print $_;
        }
    
  2. or download this
        perl -pe '$.-32or$_=$' file | cat -A
  3. or download this
        $ perl -MO=Deparse  -pe '$_=$.'
    
        LINE: while (defined($_ = <ARGV>)) {
    ...
        continue {
            die "-p destination: $!\n" unless print $_;
        }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2024-04-20 03:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found