use Lire::Error qw/ file_not_readable directory_already_exists /; open my $fh, '/tmp/mikwuk' or die file_not_readable( 'mikwuk' ); croak directory_already_exists( '/tmp/tempdir/wawadir' ) if ( -d '/tmp/tempdir/wawadir' );
Overview
This modules implements an API to obtain all the standard error messages that are found across the Lire scripts, utilities or modules. Most of them are translated appropriately.