Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re^2: regex to match the following

by jimt (Chaplain)
on May 08, 2007 at 14:55 UTC ( #614158=note: print w/ replies, xml ) Need Help??

in reply to Re: regex to match the following
in thread regex to match the following

Also out of curiosity, do monks really prefer having the and at the begining of the line?

Most definitely. It's easier to comment out a conditional to flip it off for debugging purposes, or if you just decide you don't want it any more. One comment at the start of the line and I'm finished.

The only remotely tricky thing that pops up is for the last conditional in a block, because that one'll have the semicolon at the end. Solution in that case? ;#. Not quite as clear for the poor sap who maintains it after it's commented that way, but still easy to type.

Comment on Re^2: regex to match the following

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2015-11-30 01:50 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (756 votes), past polls