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:
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 :-).sub new { bless $_[-1], $_[0] }
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 |