From: ivan Date: Fri, 31 May 2002 02:13:23 +0000 (+0000) Subject: no, actually throw an exception if an export class won't compile. X-Git-Tag: freeside_1_4_0_pre14~51 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=19416b51cad45853a7cf620af6bbde7973bedbe5;ds=sidebyside no, actually throw an exception if an export class won't compile. --- 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); }