man Lire::Error () - standard error messages library

NAME

Lire::Error - standard error messages library

SYNOPSIS

  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' );

DESCRIPTION

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.

AUTHOR

  Wolfgang Sourdeau <wolfgang@logreport.org>

VERSION

$Id: Error.pm,v 1.7 2004/09/01 15:12:04 flacoste Exp $

COPYRIGHT

Copyright (C) 2004 Stichting LogReport Foundation LogReport@LogReport.org

This file is part of Lire.

Lire is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with http://www.gnu.org/copyleft/gpl.html or write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.