Daniel Kasak wrote:
> Timothy Johnson wrote:
>> It sounds like there is a problem with your file association.
>>
>> Open HKEY_CLASSES_ROOT and go to Perl-->Shell-->Open-->Command.
>>
>> The (Default) entry should probably read:
>>
>> "C:\Perl\bin\perl.exe" "%1" %*
>>
> I'll check it out tomorro
Timothy Johnson wrote:
It sounds like there is a problem with your file association.
Open HKEY_CLASSES_ROOT and go to Perl-->Shell-->Open-->Command.
The (Default) entry should probably read:
"C:\Perl\bin\perl.exe" "%1" %*
I'll check it out tomorrow when I can get back to the PC.
Thanks :)
L PROTECTED]
Sent: Wednesday, February 01, 2006 8:20 PM
To: Timothy Johnson; Perl Beginners
Subject: Re: Script's command-line options under Windows
Timothy Johnson wrote:
> One more question. Does it work if you do it like this?
>
> perl script_name.pl argument
>
Ye
Timothy Johnson wrote:
One more question. Does it work if you do it like this?
perl script_name.pl argument
Yes, actually!
Strange ... very strange.
Thanks :)
--
Daniel Kasak
IT Developer
NUS Consulting Group
Level 5, 77 Pacific Highway
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-76
>
>
>-Original Message-
>From: Daniel Kasak [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, February 01, 2006 6:09 PM
>To: Timothy Johnson; Perl Beginners
>Subject: Re: Script's command-line options under Windows
>
>Timothy Johnson wrote:
>
>>Just to
Timothy Johnson wrote:
Just to clarify, you're able to invoke the script by typing
script_name.pl, right?
Yep.
Because one possible reason would be that your file association somehow
didn't take when you installed activeperl.
Also, does it work if you do:
my $userid = $ARGV[0];
Just to clarify, you're able to invoke the script by typing
script_name.pl, right?
Because one possible reason would be that your file association somehow
didn't take when you installed activeperl.
Also, does it work if you do:
my $userid = $ARGV[0];
?
-Original Message-
From