summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2019-04-24 14:03:01 -0700
committerIvan Kohler <ivan@freeside.biz>2019-04-24 14:03:01 -0700
commitb41ff1359baf325376d41d8c1378e187a208cc8d (patch)
treef9b314acb8eda89268be6db21cb6fa941f1747db /FS
parent4ca469474d2f143a30eec6cdd7927fd2a167eed1 (diff)
no run-time CPAN deps, RT#83178
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/part_export/northern_911.pm9
1 files changed, 2 insertions, 7 deletions
diff --git a/FS/FS/part_export/northern_911.pm b/FS/FS/part_export/northern_911.pm
index 679f5daf6..789d839e2 100644
--- a/FS/FS/part_export/northern_911.pm
+++ b/FS/FS/part_export/northern_911.pm
@@ -1,10 +1,11 @@
package FS::part_export::northern_911;
+use base 'FS::part_export';
use strict;
use vars qw(@ISA %info);
use Tie::IxHash;
use FS::Record qw(qsearch dbh);
-use base 'FS::part_export';
+use WebService::Northern911;
use Data::Dumper;
tie my %options, 'Tie::IxHash',
@@ -22,9 +23,6 @@ tie my %options, 'Tie::IxHash',
'options' => \%options,
'no_machine' => 1,
'notes' => <<'END'
-Requires installation of
-<a href="http://search.cpan.org/dist/WebService-Northern911">WebService::Northern911</a>
-from CPAN.
END
);
@@ -32,9 +30,6 @@ sub client {
my $self = shift;
if (!$self->get('client')) {
- local $@;
- eval "use WebService::Northern911";
- return "error loading WebService::Northern911 ($@)" if $@;
$self->set('client',
WebService::Northern911->new(
vendor_code => $self->option('vendor_code'),