in reply to Re: (perlvar) changing program name
in thread (perlvar) changing program name

thanks !!! these two comments gave me the answer !!!
( or even different versions of the same operating system && Any halfway secure operating system won't let you )
the script won't work on Slackware, but runs fine on Mandrake Linux ( the target system is RedHat, so another test is needed, but i'm confident it's not "halfway secure" as Slack )
again, thank you !!!!

Replies are listed 'Best First'.
Re^3: (perlvar) changing program name
by shenme (Priest) on Sep 12, 2004 at 00:44 UTC
    I didn't see anyone mention this. 5.8.0 had a bug under some OSes where setting $0 just didn't work. Linux was one of these affected. This was fixed in some later release, but I don't know which 5.8.x that was.

    I got trapped by this and other bits, needing to wait for a post-5.8.0 release, and then getting hit with "but now the system is too important to risk upgrading." But somehow arranging for the backup second system hasn't been important ...