summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2002-05-31 02:13:23 +0000
committerivan <ivan>2002-05-31 02:13:23 +0000
commit19416b51cad45853a7cf620af6bbde7973bedbe5 (patch)
tree23a2436ac4a88d0ccbd72e5ea975d95cc3a4dd54
parent6198edc29b71b77dfa6868f76effb4286579259e (diff)
no, actually throw an exception if an export class won't compile.
-rw-r--r--FS/FS/part_export.pm3
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);
}