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

See the comment in perlvar about $0 on BSD.
  • Comment on Re: In what OS and Perl version set $0 works?

Replies are listed 'Best First'.
Re: In what OS and Perl version set $0 works?
by b10m (Vicar) on Apr 15, 2004 at 20:45 UTC

    Yup, here are my results:

      OpenBSD FreeBSD
    OS Version 3.4 5.2.1
    Perl Version 5.8.0 5.8.0
    `ps` shows perl: SET_0_WORKS (perl) SET_0_WORKS (perl)
    `top` shows perl perl

    (Have no NetBSD machine, sorry ;-)

    --
    b10m

    All code is usually tested, but rarely trusted.