Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^3: Help with Multiple line RegEx

by gargle (Chaplain)
on Oct 10, 2005 at 11:55 UTC ( [id://498777]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Help with Multiple line RegEx
in thread Help with Multiple line RegEx

TIMTOWTDI

It's easy to write code that a computer can read, it's not so easy to write code that a human can understand.

It's a choice. The 'select' can easily be written as a single regexp. But think about later? What's easier to adapt? The single statement or the multiple statement?

I, for one, like code that shows its intend, even when coding in perl ;)

--
if ( 1 ) { $postman->ring() for (1..2); }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-04-15 03:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found