2017-12-20 02:05 PM
Greetings - Just started playing with the Neatpp ManageabilitySDK and Perl.
I tried a simple use case of the apitest.pl smple program and am running into the following issue:
root@centosvm# perl apitest.pl cluster01 foo bar system-get-version
Can't locate object method "new" via package "HTTP::Request" (perhaps you forgot to load "HTTP::Request"?) at ../../../../lib/perl/NetApp/NaServer.pm line 722.
Anyone have any idea what this error message means. It appears I have all the required Perl Modules loaded at run time.
Thx in advance!
Solved! SEE THE SOLUTION
3 weeks ago
Which dependencies did you install? When I use the Perl module(s) I install these:
LWP::UserAgent installs, among other things, the HTTP::Request module.
Also, you can see how to create a container based version of the NMSDK here if you're interested.
Hope that helps.