Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^7: Is there a Perl API (XS) for ->can ?

by chromatic (Archbishop)
on Oct 11, 2021 at 23:47 UTC ( [id://11137437]=note: print w/replies, xml ) Need Help??


in reply to Re^6: Is there a Perl API (XS) for ->can ?
in thread Is there a Perl API (XS) for ->can ?

I think overriding ->can is a very tricky business.

I think the biggest problem here is hard-coding the invocant. You wouldn't do that in a constructor, would you?

  • Comment on Re^7: Is there a Perl API (XS) for ->can ?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-06-17 17:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.