in reply to OO Perl Problems
And personally I dont think the || ref trick is bad, and the document you are studying explains it in detail. But broquaint is correct it is the subject of debate around here on occassion. And hes correct that it can bite you, but IMO normally doesnt.
update: Also, use the syntax that tadman shows, not the indirect object syntax my $obj=new Class as it will bite you eventually.
--- demerphq
my friends call me, usually because I'm late....
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: OO Perl Problems
by John M. Dlugosz (Monsignor) on Sep 13, 2002 at 20:55 UTC | |
by demerphq (Chancellor) on Sep 13, 2002 at 20:59 UTC | |
by kabel (Chaplain) on Sep 14, 2002 at 06:31 UTC | |
by strat (Canon) on Oct 29, 2002 at 11:16 UTC |