The vSphere SDK for Perl are available in three packages:
The Opts package includes subroutines for handling built-in options and creating custom options. See Subroutines in the Opts Package.
The Util package includes subroutines for facilitating routine tasks such as setting up and closing connections to the server. See Subroutines in the Util Package.
The Vim package includes subroutines for accessing server-side managed objects, instantiating local view objects, updating properties, and running local methods to run operations on remote servers.
Checks whether an option has been explicitly set by a script or from the command line or whether the option has a default or computed value (that is, the return value of a func).
Retrieves a ServiceInstance object, which can be used to query the server time or to retrieve the ServiceContent object.
Establishes a session by using the token provided in a previously-saved session file, or by using the user name and password provided on the command line, in environment variables, or in a configuration file.