Are you looking to develop a script using vSphere SDK for Perl similar to vCLI comamnds? which are basically Perl scripts that utilizes the vSphere SDK for Perl?
If so, there are bunch of canned VMware scripts as part of the vSphere SDK for Perl installation which is bundled when you install the vCLI on either Linux or Windows. One of the script is called vmcreate.pl which allows you to create a simple VM, you want to take a look at that - http://www.vmware.com/support/developer/viperltoolkit/viperl40/doc/vsperl_util_index.html
If you're new to VMware's API/SDKs, I highly recommend you spending some time looking at this document before getting started - http://communities.vmware.com/docs/DOC-7270
=========================================================================
William Lam
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at:
Twitter: @lamw
VMware Code Central - Scripts/Sample code for Developers and Administrators
VMware Developer Community

If you find this information useful, please award points for "correct" or "helpful".