in reply to In what OS and Perl version set $0 works?

Works on ActiveState Perl v5.8.3 built for MSWin32-x86-multi-thread running on Windows XP Pro.

CountZero

"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

  • Comment on Re: In what OS and Perl version set $0 works?

Replies are listed 'Best First'.
Re: Re: In what OS and Perl version set $0 works?
by Anonymous Monk on Apr 14, 2004 at 10:03 UTC
    Are you sure? Cause I'm pretty sure sure it doesn't. the process list always shows the executable name. You cannot change this on NT.
Re: Re: In what OS and Perl version set $0 works?
by JamesNC (Chaplain) on Apr 14, 2004 at 12:07 UTC
    I am on Win32 XPPro and AS 5.8.3 and it doesn't work for me.
Re: Re: In what OS and Perl version set $0 works?
by CountZero (Bishop) on Apr 15, 2004 at 20:33 UTC
    When running the program I get this output:

    x:\ActiveState Komodo 2.5\Mozilla\Perl-1.pl SET_0_WORKS

    So it seems to work on my machine. Well at least it produces the expected output (as was asked to check by the OP), but that doesn't mean it DWIM.

    CountZero

    "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law