Anyone have an example of how to launch a Perl script from within a vbscript running in Expedition?
You can use the "Viewlogic.Exec" object to run any program, including the Perl interpreter:
Set Exec = CreateObject("Viewlogic.Exec")
Exec.WorkingDirectory = pcbDoc.Path
cmd = "perl foo.pl " & args
Exec.Run cmd, 0, False
Thanks John. I should have been more specific.
Issue I'm having is in passing the arguments. I have 2 strings and an array. I can't seem to get the array to pass to the Perl program properly. Any experience on that front?
Why don't you pass these two strings at beginnig and then pass whole array as list of strings?
Then you can get strings from argv and argv and transform argv..$argv to Perl array.
Retrieving data ...