Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://115162]
[LanX]: oh
[LanX]: but do you have a car?
[TCLion]: Ok I have used SoPW, any feedback would be appreciated
[Eily]: yes, but if you have to borrow it please don't leave any parselmouth stains on it!

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (11)
As of 2017-03-23 17:56 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (292 votes). Check out past polls.