I am trying to install veritas volume manager on Centos 6.5 while running the script its throwing me Cannot find perl to execute
Sounds like you just need to install the Perl RPMs.
$ sudo yum install perl
You might need additional Perl modules, these can typically be installed via RPM as well, assuming they're in the standard YUM repos. If so you can search for them like so:
$ sudo yum search perl-<module name>
<module-name> would be of the form: "XML-Simple" if the Perl module was called "XML::Simple".
You can typically install Perl modules like this too:
$ sudo yum install "perl(XML::Simple)"
Simply put the name of the Perl module inside of
NOTE: You cannot search for them using that notation, only to install/remove them.