Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: allowing Data::Dumper within safe.pm

by 7stud (Deacon)
on Feb 12, 2013 at 17:24 UTC ( #1018418=note: print w/replies, xml ) Need Help??


in reply to Re^2: allowing Data::Dumper within safe.pm
in thread allowing Data::Dumper within safe.pm

share() allows you to specify which global variables in your program that you want your compartment to be able to see. However, you can only specify simple names, like '$x', i.e. names from the current namespace.

share_from() allows you to specify more complex variable names, i.e. variables from a different namespace, e.g. package X::Y::Z.

However, I've not succeeded in getting either to work. If you do, please post an example.

  • Comment on Re^3: allowing Data::Dumper within safe.pm

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1018418]
help
Chatterbox?
[choroba]: It has the widest rear seats space available in the same price category - needed for the 3 kids.
Discipulus families growth is related to price of cars nowadays..
[choroba]: price of anything, unfortunately
[Discipulus]: yes, unfortunately.
[Corion]: Discipulus: you can "easily" trap shutdown/logoff in a Win32::GUI application by capturing and responding to the appropriate message
[LanX]: choroba wants to scale further? :)
[Discipulus]: I read an article about how much the female condition has got worst in the eastern europe after the fall of social policies

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2017-01-17 09:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (154 votes). Check out past polls.