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
In reply to Re: Re: inheritance turns back and bites
by dada
in thread inheritance turns back and bites
by dada
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |