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

Re: Namespaces contiguous in the entirety

by adrianh (Chancellor)
on Sep 28, 2005 at 08:58 UTC ( #495668=note: print w/replies, xml ) Need Help??


in reply to Namespaces contiguous in the entirety

do other people see value in such a constraint?

Personally no.

I regularly have multiple packages in a single file and don't see it as a problem. If the package is small, and isn't part of a public API, then splitting it out to a separate file is often a waste of time.

Package declarations are lexically scoped for a reason :-)

Have multiple package declarations caused you problems in the past?

Update: Bah. Ignore me. Misread the original node.

I'd still ask whether multiple declarations of the same package have been causing problems? Personally I cannot recall an instance of this causing problems so would question the utility of such warnings.

  • Comment on Re: Namespaces contiguous in the entirety

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2022-12-05 10:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?