in reply to Perl OO best practice?

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.

Replies are listed 'Best First'.
Re^2: Perl OO best practice?
by smile4me (Beadle) on Feb 09, 2010 at 20:08 UTC
    Thanks for the URL, good reading!