Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Location of 'use' statements

by rir (Vicar)
on Apr 18, 2003 at 19:25 UTC ( #251521=note: print w/ replies, xml ) Need Help??


in reply to Location of 'use' statements

Number three until it is unwieldy.

Unwieldy -- having more than one package in a file. Having so many uses that some alphabetization is necessary.

I'd put strict and warnings separate, and constant separate again.

Update: It's because pragmas go into scopes and modules into namespaces.


Comment on Re: Location of 'use' statements
Select or Download Code
Re: Re: Location of 'use' statements
by PodMaster (Abbot) on Apr 18, 2003 at 21:51 UTC
    When it starts becoming unwieldy, you know it's time to break it up.


    MJD says you can't just make shit up and expect the computer to know what you mean, retardo!
    I run a Win32 PPM repository for perl 5.6x+5.8x. I take requests.
    ** The Third rule of perl club is a statement of fact: pod is sexy.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (12)
As of 2014-09-22 17:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (198 votes), past polls