Exception::IO - Thrown when IO operation failed
use warnings FATAL => 'all'; use Exception::Fatal; use Exception::IO; my $status = eval { open my $fh, '/etc/passwd', '+badmode'; }; if ($@ or not defined $status) { my $e = $@ ? Exception::Fatal->catch : Exception::IO->new; $e->throw( message => 'Cannot open' ); };
This class is an Exception::System exception thrown when IO operation failed.
Exception::System
This class provides new attributes. See Exception::Base for other descriptions.
Contains the message of the exception. This class overrides the default value from Exception::Base class.
Exception::System, Exception::Base.
If you find the bug, please report it.
Piotr Roszatycki <dexter@cpan.org>
Copyright (C) 2008, 2009 by Piotr Roszatycki <dexter@cpan.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
To install File::Stat::Moose, copy and paste the appropriate command in to your terminal.
cpanm
cpanm File::Stat::Moose
CPAN shell
perl -MCPAN -e shell install File::Stat::Moose
For more information on module installation, please visit the detailed CPAN module installation guide.