Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Sparing multiple 'or's

by clueless newbie (Curate)
on Jun 04, 2018 at 21:00 UTC ( [id://1215888]=note: print w/replies, xml ) Need Help??


in reply to Sparing multiple 'or's

Smart match?

if ($a ~~ qw(ABA SCO ACC PHC GHF)) { ... }

Replies are listed 'Best First'.
Re^2: Sparing multiple 'or's
by haukex (Archbishop) on Jun 05, 2018 at 07:28 UTC

    Smart matching is experimental, and may be drastically changed or potentially even removed in future versions of Perl.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2024-04-25 08:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found