in reply to Delete shares with IPC::Shareable
#!/opt/perl/bin/perl -w use IPC::Shareable; my %options = ( create => 1, exclusive => 0, mode => 0644, destroy => 0 ); tie %data, 'IPC::Shareable', 'data', { %options }; my $i = 0; while (1) { print $i++."\n"; %data = (); IPC::Shareable->clean_up(); tie %data, 'IPC::Shareable', 'data', { %options }; $data{test}{'test'} = $i; sleep 1; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: IPC::Shareable -> Workarround
by Aristotle (Chancellor) on Oct 25, 2002 at 23:31 UTC |