Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by toolic (Bishop)
on Nov 30, 2011 at 22:00 UTC ( [id://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 /^-+$/; }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2024-03-28 09:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found