in reply to flushing shm keys
use IPC::SysV qw(IPC_CREAT IPC_RMID);
$| = 1;
my $key = int( rand(900) ) + 5;
my $size = 100;
my $id = shmget( $key, $size, &IPC_CREAT | 0777 );
print "creating shm key $id";
print "flushing shm key $id";
shmctl( $id, IPC_RMID, 1 );
Thanks you very much.. this works.
Once (shame on you!)
Twice (shame on me!)
More often than I'd like to be
All the time
Just when answering stupid polls
Who you callin' a fool?
I refuse to vote in this ridiculous poll
Results (442 votes). Check out past polls.