Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: 'switch' and 'smartmatch' features deprecated in 5.38

by swl (Parson)
on Jun 28, 2023 at 01:53 UTC ( #11153164=note: print w/replies, xml ) Need Help??


in reply to Re^2: 'switch' and 'smartmatch' features deprecated in 5.38
in thread 'switch' and 'smartmatch' features deprecated in 5.38

Although one should first check the keys are all single letter for this case, otherwise one will get matches for words like haft, vatful and thrive.

Replies are listed 'Best First'.
Re^4: 'switch' and 'smartmatch' features deprecated in 5.38
by ibm1620 (Friar) on Jun 28, 2023 at 18:59 UTC
    %opts was populated by Getopt::Std, so the keys are guaranteed to be one character.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2023-11-30 23:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?