I have found the CPAN code for semaphores i.e semaphore.pm. I am a novice to Perl and would like to get the last semaphore id through GETPID of semctl when I give a semaphore id as input.
Please help me write this snippet which extracts the last pid give a semaphore id in Perl.
In reply to Get Semaphore info using CPAN semaphore.pm by rmv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |