Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re: Seeking a good punchline

by grantm (Parson)
on Jul 17, 2002 at 16:33 UTC ( #182493=note: print w/ replies, xml ) Need Help??


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

No, but I'll give you $1

Surely if there was no match, $1 will be undef :-)


Comment on Re: Re: Seeking a good punchline
Re: Re: Re: Seeking a good punchline
by cacharbe (Curate) on Jul 17, 2002 at 18:27 UTC
    True, but in today's volatile economy, what really is the value of $1?

    C-.

    ---
    Flex the Geek

Re^3: Seeking a good punchline
by JavaFan (Canon) on Nov 29, 2010 at 23:11 UTC
    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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2015-07-05 08:56 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 (61 votes), past polls