Net::Gnats::Command::LKDB
Locks the main gnats database. No subsequent database locks will succeed until the lock is removed. Sessions that attempt to write to the database will fail.
LKDB
The possible responses are:
210 (CODE_OK) The lock has been established.
440 (CODE_CMD_ERROR) One or more arguments were supplied to the command.
431 (CODE_GNATS_LOCKED) The database is already locked, and the lock could not be obtained after 10 seconds.
6xx (internal error) An internal error occurred, usually because of permission or other filesystem-related problems. The lock may or may not have been established.
To install Net::Gnats, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Gnats
CPAN shell
perl -MCPAN -e shell install Net::Gnats
For more information on module installation, please visit the detailed CPAN module installation guide.