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

Re: Namespaces contiguous in the entirety

by adrianh (Chancellor)
on Sep 28, 2005 at 08:58 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-04-19 23:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found