Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: anonymous subroutines assigning regexes to hash keys

by ikegami (Patriarch)
on Jul 30, 2009 at 07:06 UTC ( [id://784512]=note: print w/replies, xml ) Need Help??


in reply to Re^2: anonymous subroutines assigning regexes to hash keys
in thread anonymous subroutines assigning regexes to hash keys

It's impossible for those expressions to return nothing back.

It's impossible an expression to nothing back in scalar context.

If they return undef, then the pattern didn't match. Make sure $_ contains what you think it should.

If they return a zero-length string, it's because that's what they successfully matched.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-15 16:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found