From 0f6e5bdaa07d949fe209c96aef92819f500c39d1 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Tue, 13 May 2014 15:18:49 +0200 Subject: [PATCH] Require LWP module at run time rather than at compile time This module is only needed with --amt. --- novaboot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/novaboot b/novaboot index 0c75226..bab4f43 100755 --- a/novaboot +++ b/novaboot @@ -589,8 +589,8 @@ elsif ($remote_cmd) { $exp = Expect->spawn($remote_cmd); } elsif (defined $amt) { - use LWP::UserAgent; - use LWP::Authen::Digest; + require LWP::UserAgent; + require LWP::Authen::Digest; sub genXML { my ($host, $username, $password, $schema, $className, $pstate) = @_; -- 2.39.2