The Opts package includes the following subroutines:
Boolean. Returns 1 (true) if the option value has been explicitly set. Returns 0 (false) if the option value is a default value, is null, or has not been explicitly set. For a discussion of Boolean, see
vSphere SDK for Perl Programming Conventions.
Returns nothing. Displays an error message and quits if the parse operation is not successful. If you want to use a configuration file, call
Opts::get_config() to make sure the file can be opened. See
Opts::get_config().