in reply to Re: Win32 - @ARGV with 'perl foo.pl' vs 'foo.pl'
in thread Win32 - @ARGV with 'perl foo.pl' vs 'foo.pl'

Looks fine to me (I think):

C:\>assoc .pl .pl=pl_auto_file C:\>ftype pl_auto_file pl_auto_file="c:\perl\bin\perl.exe" "%1"

Replies are listed 'Best First'.
Re: Re^2: Win32 - @ARGV with 'perl foo.pl' vs 'foo.pl'
by halley (Prior) on Apr 01, 2004 at 18:46 UTC

    That pl_auto_file doesn't include any further arguments, so that's why they're disappearing. I'm not at a machine where I can show you what it should be, but...

    pl_auto_file="c:\...\perl.exe" "%1" %2 %3 %4 %5 %6 %7 %8 %9
    or
    pl_auto_file="c:\...\perl.exe" "%1" %2*
    Or something like that.

    --
    [ e d @ h a l l e y . c c ]

      I just discovered the %2 %3 %4 method myself, now I'm just trying to get the correct wildcard usage (asterisk is not it).