Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Detecting Overridden Methods

by sfink (Deacon)
on Feb 05, 2007 at 19:31 UTC ( [id://598389]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package MyPackage;
    use base "Whatever";
    ...
    BEGIN { $can_foo = 1 if MyPackage->can("foo"); }
    sub foo { 'Whee!' }
    sub check { return $can_foo; }
    
  2. or download this
    MyPackage->can("SUPER::foo")
    

Log In?
Username:
Password:

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

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

    No recent polls found