From: "Dennis G. Wicks" <[EMAIL PROTECTED]>
> I just did extensive testing using ActiveState perl on XP-Pro
> and I get the exact same results.
>
> C:\DATAFI~1>argv.pl testfile
>
> gives the unitialized variable message but
>
> C:\DATAFI~1>perl argv.pl testfile
>
> works as expected.
It ain't bug in ActivePerl but only in your file extension mapping.
Start regedit.exe
go to HKEY_CLASSES_ROOT\.pl
see what's the default value
go to HKEY_CLASSES_ROOT\<that value>
open .\Shell\Open\command
make sure the default value is
"D:\Perl\bin\perl.exe" "%1" %*
(of course with different path to perl.exe if needed)
All should be fine then.
Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
-- Terry Pratchett in Sourcery
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>