Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^4: Rosetta Dispatch Table

by LanX (Sage)
on Nov 26, 2017 at 18:54 UTC ( #1204292=note: print w/replies, xml ) Need Help??


in reply to Re^3: Rosetta Dispatch Table
in thread Rosetta Dispatch Table (Interview Question)

Checking ->can is cleaner than adding a fallback method to UNIVERSAL.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Wikisyntax for the Monastery

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2021-10-28 08:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (96 votes). Check out past polls.

    Notices?