Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Seeking a good punchline

by JavaFan (Canon)
on Nov 29, 2010 at 23:11 UTC ( #874388=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Seeking a good punchline
in thread Seeking a good punchline

If there was no match, $1 will be whatever if was before. Which actually *may* be defined:

$ perl -wE '"foo" =~ /(.)/; "bar" =~ /f(o)o/ or say $1' f


Comment on Re^3: Seeking a good punchline
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (13)
As of 2015-07-28 11:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (254 votes), past polls