From 19416b51cad45853a7cf620af6bbde7973bedbe5 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 31 May 2002 02:13:23 +0000 Subject: [PATCH] no, actually throw an exception if an export class won't compile. --- FS/FS/part_export.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/FS/FS/part_export.pm b/FS/FS/part_export.pm index 14e4676e9..f4f46b0e9 100644 --- a/FS/FS/part_export.pm +++ b/FS/FS/part_export.pm @@ -370,8 +370,7 @@ sub rebless { my $self = shift; my $exporttype = $self->exporttype; my $class = ref($self). "::$exporttype"; -# eval "use $class;" or die $@; - eval "use $class;"; + eval "use $class;" or die $@; bless($self, $class); } -- 2.11.0