Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Failed match not stored

by jwkrahn (Abbot)
on Apr 07, 2025 at 20:29 UTC ( [id://11164619]=note: print w/replies, xml ) Need Help??


in reply to Failed match not stored

In list context a failed match returns an empty list.

Naked blocks are fun! -- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
Re^2: Failed match not stored
by BillKSmith (Monsignor) on Apr 08, 2025 at 13:42 UTC
    Thanks for the simple answer. The original problem was more subtle than my example, but in both cases, I failed to recognize the list context.
    Bill

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2026-04-19 17:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.