Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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';

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 wandering the Monastery: (5)
As of 2016-08-29 22:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (409 votes). Check out past polls.