Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Namespaces contiguous in the entirety

by herveus (Prior)
on Sep 28, 2005 at 12:01 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-25 12:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found