Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Perl: the Markov chain saw
 
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 imbibing at the Monastery: (13)
As of 2014-04-23 21:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (555 votes), past polls