in reply to Re: (perlvar) changing program name
in thread (perlvar) changing program name
The man page for perlvar says:
The emphasis being on someOn some operating systems assigning to "$0" modifies the argument area that the ps program sees.
Printing $0 in your program means nothing. That's the value that your program sees. If, as a side effect, the value ps sees is also modified, you can bet that Perl isn't querying that ps value to show you what it has in $0.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: (perlvar) changing program name
by slipwalker (Acolyte) on Sep 11, 2004 at 22:43 UTC |