The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

usul_lock - A command line interface to the IPC::SRLock module

SYNOPSIS

usul_lock -nc method [-o var=value]

Calls the named method

usul_lock -H | -h [method] | -?

Display man page | method docs | usage string

usul_lock -nc list-methods

Displays a list of available methods

DESCRIPTION

This program exposes the methods in the Class::Usul::Programs module

OPTIONS

-c method

Name of method to call. Required

-D

Turn debugging on. Promps if interactive

--encoding

Decodes/encodes input/output using the value. Defaults to UTF-8

-h

Uses Pod::Usage to describe the program usage options

-H

Uses Pod::Man to display the program documentation. Pipes through nroff

--home

Directory containing the configuration file

-L

Loads the specified language message catalog

-n

Do not prompt for debugging

-o

Zero, one or more key/value pairs passed to the method call

-q

Quiet the display of information messages

-V

Displays the version number of the program class

EXIT STATUS

Returns zero on success, non zero on failure

CONFIGURATION

Uses the constructor's appclass attribute to locate a configuration file

DIAGNOSTICS

Prints errors to STDERR

DEPENDENCIES

Class::Usul::Programs

INCOMPATIBILITIES

There are no known incompatibilities in this module

BUGS and LIMITATIONS

There are no known bugs in this module. Please report problems to the address below. Patches are welcome

ACKNOWLEDGEMENTS

Larry Wall - For the Perl programming language

AUTHOR

Peter Flanigan, <pjfl@cpan.org>

LICENSE and COPYRIGHT

Copyright (c) 2018 Peter Flanigan. All rights reserved

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic

This program is distributed in the hope that it will be useful, but WITHOUT WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE