in reply to Delete shares with IPC::Shareable

Interesting is that when I change the while-loop to:
while (1) { print $i++."\n"; $data{'test'}{'test'} = $i; sleep 1; }

it works fine. So it only creates new ones when I empty %data before I put data in there...
I think that's a bit logical but how do I tell it to not create a new one...or I'll set a flag in each hash-element to use it in the scripts or not....

giant

Replies are listed 'Best First'.
Re: UPDATE!
by valdez (Monsignor) on Oct 24, 2002 at 13:33 UTC

    If I understood correctly there is no way to tell IPC::Shareable to not create a new one; on the other hand if you undef something that has something tied inside it, the module will not untie recursively all references contained...

    Ciao, Valerio