Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Location of 'use' statements

by rir (Vicar)
on Apr 18, 2003 at 19:25 UTC ( [id://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.

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://251521]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-24 02:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found