I have a Perl script that requires two command line arguments that takes a while to run. I am using ActiveState Perl to run it. I can call it with
wperl script.pl arg1 arg2from a command prompt and it runs in the background fine. If I change the .pl association from perl.exe to wperl.exe and call it with
script.pl arg1 arg2the arguments don’t get passed. Is there something similar to the
#!/usr/bin/perl
like I can use to force wperl
to get used?