summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
bd5457b)
- die if an export class won't compile
Reblesses the object into the FS::part_export::EXPORTTYPE class, where
EXPORTTYPE is the object's I<exporttype> field. There should be better docs
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>.
my $self = shift;
my $exporttype = $self->exporttype;
my $class = ref($self). "::$exporttype";
my $self = shift;
my $exporttype = $self->exporttype;
my $class = ref($self). "::$exporttype";
+ eval "use $class;" or die $@;