Please note that the VI Perl Toolkit Beta Release Notes includes a "Known Issues section" (at http://www.vmware.com/support/pubs/beta/viperltoolkit/viperl-1-200706-releasenotes.html#knownissues) that includes issues such as the following:
Using Vim::update_view_data Subroutine Generates Error Message.
The subroutine update_view_data results in the following error messages:
Use of uninitialized value in string ne
at c:/Perl/site/lib/VMware/VIM2Runtime.pm line 496...
Use of uninitialized value in string eq
at c:/Perl/site/lib/VMware/VIM2Runtime.pm line 516...
If at all possible, avoid using the update_view_data subroutine in your code until the issue has been resolved. To refresh the state of client-side view objects, you can re-instantiate the objects (to obtain current server state) with the necessary calls to get_entity_views or get_views.
--Harvey
Harvey Alcabes
Product Manager
VMware, Inc.