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

Re^3: Dynamically Changing Packages w/out Eval

by demerphq (Chancellor)
on Jun 15, 2009 at 12:45 UTC ( #771641=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Dynamically Changing Packages w/out Eval
in thread Dynamically Changing Packages w/out Eval

Sorry ovid, but the code you posted as an example did not make that very clear*. You basically cannot get rid of namespace pollution in perl. It is impossible. Any piece of code can declare objects in any namespace at any time.

As far as /useful/ advice, :-), take a look at the top of and see how Jarkko did it.

* Update: i mean it didnt make your question clear. I know you arent a newbie. Remember we drank a fair amount of whiskey together in vienna? ;-)


Comment on Re^3: Dynamically Changing Packages w/out Eval

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2015-10-05 02:09 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (106 votes), past polls