in reply to Is my @ARGV broken?

Replies are listed 'Best First'.
Re: Re: Is my @ARGV broken?
by ibanix (Hermit) on Jan 17, 2003 at 22:55 UTC
    Well, this was definately the related problem.

    I changed the ftype to the full path to perl.exe, and hey presto, it works as expected:

    ftype perl=D:\perl\bin\perl.exe %1 %*
    Ever feel dumb? I sure do! I even wrote a tutorial on this! Doh!
    Thanks for the help!

    ibanix

    $ echo '$0 & $0 &' > foo; chmod a+x foo; foo;
Re: Re: Is my @ARGV broken?
by ibanix (Hermit) on Jan 17, 2003 at 22:48 UTC
    Interesting. I had set mine up previously. Here's what it looks like:

    D:\>assoc .pl .pl=perl D:\>ftype perl perl=perl.exe "%1" "%*"
    ibanix

    $ echo '$0 & $0 &' > foo; chmod a+x foo; foo;