DC Brian wrote:
> Hi. First of all, I am a total newbie to Perl, so forgive my ignorance. 
> I am using someone else's script here; let's call it foo.pl.
>  
> Without going into too much detail about the code or whether it works 
> correctly, let's just say that we have two near identical WinXP PC's 
> with identical versions of ActivePerl installed. Running the script on 
> the first PC from the Windows command line works fine, accepting 
> arguments and functioning accordingly in the manner of foo.pl -f, for 
> example, but the same exact script on the second PC with the same 
> version of perl installed does not seem to accept when I run foo.pl -f. 
> It's as if it just doesn't recognize any flags, switches, or other 
> options after foo.pl is called.
>  
> Assuming the code within foo.pl is correct, is there anything else that 
> would cause this sort of behavior? I am truly stumped. Thanks.

Check your settings for assoc .pl and ftype <type>

 >assoc .pl
.pl=Perl

 >ftype Perl
Perl="C:\perl\bin\perl.exe" "%1" %*
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to