Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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
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?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (12)
As of 2015-11-30 18:06 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (778 votes), past polls