perl - ActiveState PerlApp fails to compile the RPC::XML::Client module -


 None prettyprint-override ">  Object method can not be found" RPC :: XML :: Client :: new: Unable to obtain RPC :: XML :: Parser object "(maybe you can use" simple_request " Unable to load RPC :: XML :: Client :: new: RPC :: XML :: Parser object, forgot to load "?)  

and code:

 Use the  hard # / usr / bin / perl; Use RPC :: XML; Use RPC :: XML :: Client; $ VNEURL = "https: //" "$ ConfIPHost" / "API /"; $ VNESession = RPC :: XML :: Client-> New ("$ VNEURL", UserAgent => [SSL_opets => {verification_hostname => 0, SSL_verify_mode = & gt; "SSL_VERIFY_NONE"}]); $ VNEAuthCookie = $ VNesession-> Simple_Lesson ('Login', 2, 0, $ ConfIPUser, $ ConfIPPass) or die ("Failed to log in IP360.");  

In the documentation, the author appears to be: requires RPC :: XML; RPC :: XML :: Client is required; Instead of 'use',

will explain why it is not run for you when it is compiled, as the experiment is evaluated at compile time.


Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -