Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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';


Comment on Re: Location of 'use' statements
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://251555]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (12)
As of 2015-07-02 10:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (34 votes), past polls