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

Re (tilly) 2: Reblessing (was: OO Perl: calling a constructor within a class)

by tilly (Archbishop)
on Sep 27, 2001 at 21:05 UTC ( #115162=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $check_that_can_with = UNIVERSAL::can($obj,'can') ne \&UNIVERSAL::can;
    
  2. or download this
    my $can = \&UNIVERSAL::can;
    local $^W = 0;
    *UNIVERSAL::can = sub {
      $_[1] eq 'can' ? \&UNIVERSAL::can : &$can;
    };
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (16)
As of 2014-07-10 19:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (215 votes), past polls