rmv has asked for the wisdom of the Perl Monks concerning the following question:
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Get Semaphore info using CPAN semaphore.pm
by ww (Archbishop) on Sep 05, 2009 at 11:42 UTC | |
by rmv (Initiate) on Sep 05, 2009 at 13:34 UTC | |
by Bloodnok (Vicar) on Sep 05, 2009 at 13:48 UTC | |
by rmv (Initiate) on Sep 05, 2009 at 13:59 UTC | |
by ww (Archbishop) on Sep 05, 2009 at 14:19 UTC | |
|