Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Re: inheritance turns back and bites

by dada (Chaplain)
on Mar 01, 2004 at 13:57 UTC ( #332897=note: print w/ replies, xml ) Need Help??


in reply to Re: inheritance turns back and bites
in thread inheritance turns back and bites

it's like doing sub new { bless \42, "MyNumber" }
no, it's like doing:
sub new { bless $_[-1], $_[0] }
which I can do. arguably a good idea, but I can. and in fact, that part works, at least in my perl interpreter. (note: the code is deliberately "strange" just to hide a bit the real problem :-).

cheers,
Aldo

King of Laziness, Wizard of Impatience, Lord of Hubris


Comment on Re: Re: inheritance turns back and bites
Download Code
Re: Re: Re: inheritance turns back and bites
by tinita (Parson) on Mar 01, 2004 at 14:04 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2014-07-24 06:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (158 votes), past polls