Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Namespaces contiguous in the entirety

by herveus (Parson)
on Sep 28, 2005 at 12:01 UTC ( #495712=note: print w/replies, xml ) Need Help??


in reply to Namespaces contiguous in the entirety

Howdy!

*Why* would it be good to have the package statement warn if the symbol table for that package already exists?

Just for grins, I have discerned that the package statement, by itself, appears to cause $::{<package>::} to spring into existence, so that is what you'd be looking for...but I don't see any general value in attempting to make repeated use of 'package X' warnable. In fact, switching the default namespace on the fly is a perfectly valid technique.

yours,
Michael
  • 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://495712]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2022-12-08 03:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?