Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: Regex problem

by edan (Curate)
on Feb 16, 2005 at 12:25 UTC ( #431541=note: print w/replies, xml ) Need Help??


in reply to Re^2: Regex problem
in thread Regex problem

I downvoted your post, and I'll tell you why - IT'S WRONG! Why would you give somebody a regex solution when they clearly need to test for equality!? What if $index contained regex metacharacters? In short, I think it's a bad habit to use an anchored regex when you mean "equals". perl provides us with == and eq for a reason. Use them.

--
edan

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://431541]
help
Chatterbox?
[Discipulus]: it seems some signal is issued but only by services
[Discipulus]: which one choroba?
[choroba]: Perlingo
[Discipulus]: Perl In Go?

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2017-01-17 09:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (154 votes). Check out past polls.