Forum Moderators: coopster
So far, I have the following, but I also want it to run using the variables var1 and var2:
passthru("perl script.pl");
I tried these and several variations to no avail:
passthru("perl script.pl '-var1=hello -var2=world'");
passthru("perl script.pl 'var1=hello&var2=world'");
passthru("perl script.pl -var1=hello -var2=world'");
Can anyone tell me what I'm doing wrong?