Filesys::POSIX::Error - Throw Errno values with Carp::confess()
use Filesys::POSIX::Error; throw &Errno::ENOENT;
Filesys::POSIX::Error provides throw(), a function which allows one to set $! and throw a stack trace containing a stringification thereof in one simple action.
Filesys::POSIX::Error
throw()
$!
Written by Xan Tronix <xan@cpan.org>
Copyright (c) 2014, cPanel, Inc. Distributed under the terms of the Perl Artistic license.
To install Filesys::POSIX, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Filesys::POSIX
CPAN shell
perl -MCPAN -e shell install Filesys::POSIX
For more information on module installation, please visit the detailed CPAN module installation guide.