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

Re^4: chopping the beginning and end of lines in 2 files

by GrandFather (Saint)
on Nov 13, 2008 at 10:40 UTC ( [id://723406]=note: print w/replies, xml ) Need Help??


in reply to Re^3: chopping the beginning and end of lines in 2 files
in thread chopping the beginning and end of lines in 2 files

then you might like:

$_->[1] >= 15 && last or ++$beg for @data; $_->[1] >= 15 && last or ++$end for reverse @data;

Perl reduces RSI - it saves typing

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-04-18 22:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found