Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Global Variables Not Updated in Child Process

by choroba (Bishop)
on Nov 16, 2012 at 08:16 UTC ( #1004145=note: print w/replies, xml ) Need Help??


in reply to Global Variables Not Updated in Child Process

Normally, a child process cannot change its parent's variables. But see forks::shared.
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
  • Comment on Re: Global Variables Not Updated in Child Process

Replies are listed 'Best First'.
Re^2: Global Variables Not Updated in Child Process
by anshumangoyal (Scribe) on Nov 18, 2012 at 16:55 UTC
    I tried Fork::Shared and Dat::Dumper, but ther issue is they are not able to save Type Globs. It returned error that it is not able to save Type Globs. Any other solution that you have?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1004145]
help
Chatterbox?
[LanX]: do you know the story of the triangle player?
[choroba]: Oh, the Czech one playing the German composition?
[choroba]: BTW, the elections are over. We already have the final results.
[choroba]: I should probably apply for a job somewhere abroad.
[LanX]: nope this one One day the triangle player of an orchestra gets very ill and goes to the hospital.. ..

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2017-10-21 19:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (270 votes). Check out past polls.

    Notices?