There are three ways to run an external program from perl. The function qx() returns the STDOUT as a string. The function system returns the vb script exit code. The function exec never returns.
In your case use qx() to run your vb script and capture the output in a varible like my $final = qx(vbscript)
In reply to Re: execute vbscript code inline in Perl script
by vinoth.ree
in thread execute vbscript code inline in Perl script
by slick.user
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |