Ditto the suggestion on wrapping in-file packages in their own blocks, and you also want to avoid the "indirect object" method call form (i.e. things like my $obj = new Foo; see The Problems with Indirect Object Notation for why).
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re: Perl OO best practice?
by Fletch
in thread Perl OO best practice?
by smile4me
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |