- or download this
sub read
...
return shmwrite($self->id, $str, $pos, $size);
}
}
- or download this
read ( POS, SIZE )
...
write ( STRING, POS, SIZE )
Write SIZE bytes to the shared memory segment at POS . Returns true if
+ successful, or false if there is an error. See shmwrite.
- or download this
$shm->write(pack("S", 4711), 2, 2);
- or download this
S An unsigned short value.