Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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 having an uproarious good time at the Monastery: (7)
As of 2014-11-22 10:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (121 votes), past polls