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....
In reply to Re: OO Perl Problems
by demerphq
in thread OO Perl Problems
by Elgon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |