may be you used a command like:
. vmware-install.pl (dot <space> vmware-install.pl) ?
you can't run it that way, probably you need to add execution permission to "vmware-config.pl" using:
chmod a+x vmware-config.pl
and then to run the command this way:
./vmware-install.pl