1
2 Log in by calling the object-oriented login() method. The arguments to the object-oriented login() method are the same as for the procedural Vim::login() subroutine.Most procedural Vim:: methods have an object-oriented counterpart. The procedural methods operate on an implicitly specified global vSphere object. Object-oriented methods operate on the explicitly supplied vSphere object.The following code fragment from /samples/sessions/multisession.pl illustrates how to use multiple sessions, using the object-oriented programming style in vSphere SDK for Perl.Example: Using Multiple Sessions