Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^4: Experimental warnings with given/when

by tobyink (Canon)
on Dec 02, 2020 at 01:18 UTC ( [id://11124492]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Experimental warnings with given/when
in thread Experimental warnings with given/when

match::simple is my take on a dumb match.

Its table is just:

Left Right Description and pseudocode =============================================================== Any undef check whether Any is undefined like: !defined Any Any non-ref string equality like: Any eq Any Any Regexp pattern match like: Any =~ /Regexp/ Any CODE sub passed Any returns true like: CODE->(Any) Any ARRAY smartmatch each ARRAY element[3] like: grep { Any ~~ $_ } ARRAY Any object call `MATCH` method on Object, or invoke ~~ overloading on Object, or die Any other die

So the behaviour is predictable based on the right-hand side.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-24 17:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found