in reply to Re: Seeking a good punchlinein thread Seeking a good punchline
No, but I'll give you $1
Surely if there was no match, $1 will be undef :-)
Flex the Geek
$ perl -wE '"foo" =~ /(.)/; "bar" =~ /f(o)o/ or say $1'