summaryrefslogtreecommitdiff
path: root/FS/FS
diff options
context:
space:
mode:
authorivan <ivan>2002-05-22 11:39:53 +0000
committerivan <ivan>2002-05-22 11:39:53 +0000
commite93c23ed5b4fc2fd81501b2371927e6cdfad7a65 (patch)
treeb7e7072e8df19470c3c8ce62583866d81569c7de /FS/FS
parentbd5457be3b6422596cf43464decd5b696d886123 (diff)
- remove some out of date documentation
- die if an export class won't compile
Diffstat (limited to 'FS/FS')
-rw-r--r--FS/FS/part_export.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/FS/FS/part_export.pm b/FS/FS/part_export.pm
index 752bbb1d3..94b819d13 100644
--- a/FS/FS/part_export.pm
+++ b/FS/FS/part_export.pm
@@ -361,8 +361,7 @@ sub option {
Reblesses the object into the FS::part_export::EXPORTTYPE class, where
EXPORTTYPE is the object's I<exporttype> field. There should be better docs
-on how to create new exports (and they should live in their own files and be
-autoloaded-on-demand), but until then, see L</NEW EXPORT CLASSES>.
+on how to create new exports, but until then, see L</NEW EXPORT CLASSES>.
=cut
@@ -370,7 +369,7 @@ sub rebless {
my $self = shift;
my $exporttype = $self->exporttype;
my $class = ref($self). "::$exporttype";
- eval "use $class;";
+ eval "use $class;" or die $@;
bless($self, $class);
}