Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^3: Setting $0 clears /proc/PID/environ tooby talexb (Chancellor) |
on Jan 17, 2020 at 14:41 UTC ( [id://11111524]=note: print w/replies, xml ) | Need Help?? |
OK -- changing the process name is fine, and I understand that can be quite handy. I was asking about changing $0, which to me is one of Perl's read-only variables. Then again, Perl's a language (like C) where you can A Weird Thing and the language will shrug and say, OK, Joe! while thinking Hmm, not sure why you'd wanna do that. :) Thanks for the detailed response.
In Section
Seekers of Perl Wisdom
|
|