in reply to Changing $0 under solaris
You can't under Solaris. The 'ps' command reads the process table from kernel space, not user space like on Linux.
-Nitrox
In Section
Seekers of Perl Wisdom
in reply to Changing $0 under solaris
-Nitrox