my $key=int(rand(900))+5; my $size = 100; $id = shmget($key, $size, &IPC_CREAT | 0777 );