Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: inheritance turns back and bites

by dada (Chaplain)
on Mar 01, 2004 at 13:57 UTC ( [id://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

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://332897]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2024-04-19 11:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found