NAME

SHARYANTO::Proc::ChildError - Explain process child error

VERSION

version 0.58

FUNCTIONS

explain_child_error($child_error, $os_error) => STR

Produce a string description of an error number. $child_error defaults to $? if not specified. $os_error defaults to $! if not specified.

The algorithm is taken from perldoc -f system. Some sample output:

failed to execute: No such file or directory (-1)
died with signal 15, with coredump
exited with value 3

None are exported by default, but they are exportable.

AUTHOR

Steven Haryanto <stevenharyanto@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Steven Haryanto.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

DESCRIPTION