vSphere SDK for Perl includes one subroutine, Opts::get_config().

Opts::get_config()

Opts::get_config() determines whether a configuration file was read when vSphere SDK for Perl executed Opts::parse().

This subroutine has no parameters.

If a configuration file was successfully opened, Opts::get_config() returns the path to it. If no configuration file was found, or if it could not be opened, Opts::get_config() returns undef.