Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^2: Perl OO best practice?by TGI (Parson) |
on Feb 12, 2010 at 01:38 UTC ( [id://822793]=note: print w/replies, xml ) | Need Help?? |
Moose is an excellent suggestion.
I like to put all my extra packages in BEGIN blocks since it makes them as much work as much like they were used as possible. I also put the trailing true value in, so that I can grab them and dump them straight into a separate file if it should become desirable to break them out. This simple step has prevented me from having to rerun zillions of tests via make test and prove
In Section
Seekers of Perl Wisdom
|
|