Name

IPC::SRLock::Utils - Common functions used by this distribution

Synopsis

   use IPC::SRLock::Utils qw( Unspecified hash_from get_args );

Description

Common functions used by this distribution

Subroutines/Methods

Unspecified

Returns a subroutine reference which when called returns the string Unspecified. This is an exception class used as an argument to the throw method

hash_from

Returns a hash reference. Accepts a hash reference or a list of keys and values

loop_until

Loop until the closed over subroutine returns true or a timeout occurs

merge_attributes

   $dest = merge_attributes $dest, $src, $attr_list_ref;

Merges attribute hashes. The $dest hash is updated and returned. The $dest hash values take precedence over the $src hash values. The $src hash may be an object in which case its accessor methods are called

throw

Expose the throw method in File::DataClass::Exception

Configuration and Environment

None

Diagnostics

None

Dependencies

Exporter::Tiny

Incompatibilities

There are no known incompatibilities in this module

Bugs and Limitations

There are no known bugs in this module. Please report problems to http://rt.cpan.org/NoAuth/Bugs.html?Dist=IPC-SRLock. Patches are welcome

Acknowledgements

Larry Wall - For the Perl programming language

Author

Peter Flanigan, <pjfl@cpan.org>

License and Copyright

Copyright (c) 2017 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