From: Eric Hodel Date: 2009-05-17T08:24:18+09:00 Subject: Re: $0 is truncated On May 16, 2009, at 13:36, Brian Candler wrote: > Yukihiro Matsumoto wrote: >> [ ] it's OK (for you) that $0 is not always corresponding to process >> name read by ps etc.; in this case if you set $0 longer than the >> limit, $0 will be updated but the proc title will be truncated >> to >> the limit. > > Yes, that would be my preferred option. > > I don't mind whether $0 is frozen. Actually, I wrote $0 = ... > originally, and only changed it to $0.replace(...) as a workaround. In this case, why is it important that you check $0? Why not use any other global variable?