Quantcast
Channel: VMware Communities : All Content - vSphere Management SDK
Viewing all articles
Browse latest Browse all 1860

[perl sdk 5.52] VILib.pm : sub add_options wrongly parses %opts [ also solution :) ]

$
0
0

So , as described upper , downloading the tar.gz version of the latest ( at the moment) Perl SDK 5.52 , when invoking


Opts::add_options(%a_hash) 
the %options are not actually updated because


if (!exists($options{$key} ) {

only checks if $options{$key} vas defined but not instantiated

so for me i had to also check for its "->" too, to not be null  ;


Viewing all articles
Browse latest Browse all 1860

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>