This example script uses the API to offer a list of vApps and to delete the user-selected selected vApp.
./list-vapps.pl --username USER --password PASS --orgname ORG --hostname HOST
NB: "System" is the orgname for sysadmin actions and access.
If a value is not provided in the command line, it will be asked for.
To install VMware::vCloud, copy and paste the appropriate command in to your terminal.
cpanm
cpanm VMware::vCloud
CPAN shell
perl -MCPAN -e shell install VMware::vCloud
For more information on module installation, please visit the detailed CPAN module installation guide.