Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: File handles in regular expressions

by tobyink (Abbot)
on Oct 18, 2012 at 19:06 UTC ( #999797=note: print w/ replies, xml ) Need Help??

in reply to File handles in regular expressions

What do you mean by "if they match"? Do you mean, "if they are identical strings"? If so, string comparison (using the eq operator) is almost certainly a better idea than using regexes.

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'

Comment on Re: File handles in regular expressions
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2015-08-31 09:43 GMT
Find Nodes?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...

    Results (354 votes), past polls