diff options
author | ivan <ivan> | 2002-05-31 02:13:23 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-05-31 02:13:23 +0000 |
commit | 19416b51cad45853a7cf620af6bbde7973bedbe5 (patch) | |
tree | 23a2436ac4a88d0ccbd72e5ea975d95cc3a4dd54 | |
parent | 6198edc29b71b77dfa6868f76effb4286579259e (diff) |
no, actually throw an exception if an export class won't compile.
-rw-r--r-- | FS/FS/part_export.pm | 3 |
1 files changed, 1 insertions, 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); } |