in reply to Object Troubles
is some very bad juju. In a couple nasty ways, this syntax can break and is now considered the Wrong Way ( if Conway himself is threating to beat people up for using this method, I figure we can classify it as the Wrong Wat ).my $a = new Hit;
The Better Way is to say
But please do post the code as davorg requested and we can offer more help.my $a = Hit->New();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: Object Troubles (CMonster: Wrong Way new?)
by CMonster (Scribe) on Jul 13, 2000 at 18:40 UTC | |
by chromatic (Archbishop) on Jul 13, 2000 at 19:17 UTC | |
by mikfire (Deacon) on Jul 13, 2000 at 19:52 UTC | |
by davorg (Chancellor) on Jul 13, 2000 at 19:00 UTC |