Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: help with this snippet: if($.==2||$&&&!$s++)

by toolic (Chancellor)
on Nov 30, 2011 at 22:00 UTC ( #940952=note: print w/ replies, xml ) Need Help??


in reply to help with this snippet: if($.==2||$&&&!$s++)

Tip #6 from the Basic debugging checklist... B::Deparse

while (defined($_ = <ARGV>)) { print $_ if $. == 2 or $& and not $s++; $. = 0 if /^-+$/; }


Comment on Re: help with this snippet: if($.==2||$&&&!$s++)
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (12)
As of 2014-09-02 20:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (29 votes), past polls