Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Location of 'use' statements

by adrianh (Chancellor)
on Apr 18, 2003 at 21:42 UTC ( #251555=note: print w/replies, xml ) Need Help??

in reply to Location of 'use' statements

My preference is for:

package FooBar; use base qw(Foo); # because I like the class hierarchy to be obviou +s # always have use strict; use warnings; # core or CPAN modules use File::Find; use DBI; # application specific modules use MyApp::Configuration; use MyApp::Template; # module specific stuff use constant DEBUG => 0; our $VERSION = '0.02';