From 12d96eb0146f7e96012bba12c13a7a12282494aa Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 11 Jul 2002 17:42:48 +0000 Subject: Use confess instead of croak --- Echolot/Storage/File.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Echolot/Storage/File.pm b/Echolot/Storage/File.pm index 924db0e..b00d47d 100644 --- a/Echolot/Storage/File.pm +++ b/Echolot/Storage/File.pm @@ -1,7 +1,7 @@ package Echolot::Storage::File; # (c) 2002 Peter Palfrader -# $Id: File.pm,v 1.31 2002/07/11 17:41:07 weasel Exp $ +# $Id: File.pm,v 1.32 2002/07/11 17:42:48 weasel Exp $ # =pod @@ -23,7 +23,7 @@ use warnings; use Data::Dumper; use IO::Handle; use English; -use Carp qw{cluck confess croak carp}; +use Carp qw{cluck confess carp}; use Fcntl ':flock'; # import LOCK_* constants use Fcntl ':seek'; # import LOCK_* constants use Echolot::Tools; @@ -172,7 +172,7 @@ sub metadata_read($) { $self->{'METADATA'} = $METADATA; }; $EVAL_ERROR and - croak("Error when reading from metadata file: $EVAL_ERROR"), + confess("Error when reading from metadata file: $EVAL_ERROR"), return 0; defined($self->{'METADATA'}->{'version'}) or -- cgit v1.2.3