Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Help with code optimization

by Anonymous Monk
on Jun 28, 2013 at 13:10 UTC ( #1041250=note: print w/ replies, xml ) Need Help??


in reply to Re: Help with code optimization
in thread Help with code optimization

Those conditions are NOT mutually exclusive. The m modifier will cause the ^ to match any beginning of line, not just at the beginning of the string. Since $data contains the entire file, each of the expressions could match.


Comment on Re^2: Help with code optimization
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2014-12-23 00:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (133 votes), past polls