Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: How to grep exact string

by ColonelPanic (Friar)
on Nov 15, 2012 at 09:34 UTC ( #1003981=note: print w/ replies, xml ) Need Help??


in reply to Re^2: How to grep exact string
in thread How to grep exact string

I think (hope!) that smart match is mature enough at this point that you can rely on its behavior not changing for such a basic case.

Nevertheless, another way of solving the problem is always useful.



When's the last time you used duct tape on a duct? --Larry Wall


Comment on Re^3: How to grep exact string
Re^4: How to grep exact string
by tobyink (Abbot) on Nov 15, 2012 at 10:13 UTC

    I imagine that Perl will continue to support the old behaviour by default and an explicit use 5.xxx statement will enable the new behaviour via feature. (Much like how use 5.010 enables state, say, etc.)

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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2014-09-17 11:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (72 votes), past polls