IPC::Lock::RabbitMQ - Simple and reliable scoped locking for coarse grained locks.
my $locker = IPC::Lock::RabbitMQ->new( mq => $rabbitfoot ); my $lock = $locker->lock("foo"); $lock->unlock;
See IPC::Lock::RabbitMQ
Constructs a lock object. You should never need to call this
Unlocks this lock.
Called when the lock object goes out of scope. Calls the unlock method.
See IPC::Lock::RabbitMQ.
To install IPC::Lock::RabbitMQ, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IPC::Lock::RabbitMQ
CPAN shell
perl -MCPAN -e shell install IPC::Lock::RabbitMQ
For more information on module installation, please visit the detailed CPAN module installation guide.