dammit i want to catch export subclass compilation problems
authorivan <ivan>
Fri, 31 May 2002 20:34:03 +0000 (20:34 +0000)
committerivan <ivan>
Fri, 31 May 2002 20:34:03 +0000 (20:34 +0000)
FS/FS/part_export.pm

index f4f46b0..ae20146 100644 (file)
@@ -370,7 +370,8 @@ sub rebless {
   my $self = shift;
   my $exporttype = $self->exporttype;
   my $class = ref($self). "::$exporttype";
-  eval "use $class;" or die $@;
+  eval "use $class;";
+  die $@ if $@;
   bless($self, $class);
 }