Re: changing $0 on solaris?

2002-03-28 Thread William.Ampeh
I do not think your assertion is correct. You see $0 is the name of the parent program, and $1 ..$9 the name of the arguments to $0. You can modify the arguments ($1 .. $9) but not $0. The only way you can modify $0 is to start a new program. If you could include a copy of your program,

RE: changing $0 on solaris?

2002-03-28 Thread behdad_forghani
being a different process. Cheers, Behdad -Original Message- From: Ross Simpson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 27, 2002 6:04 PM To: Perl Beginners Subject: changing $0 on solaris? I'm trying to change the value of $0 in a perl script (so that it shows

changing $0 on solaris?

2002-03-27 Thread Ross Simpson
I'm trying to change the value of $0 in a perl script (so that it shows as something I define in ps). Directly modifying $0 works in linux, but on solaris it has no effect. Is there another way to do this, or does solaris not allow it? thanks Ross -- To unsubscribe, e-mail: [EMAIL PROTECTED]