# New Ticket Created by Zoffix Znet # Please include the string: [perl #132194] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=132194 >
Opening a ticket, per https://github.com/perl6/roast/issues/339 -----------8<------------------------- $*PROGRAM-NAME is supposed to be a replacement for Perl 5's $0, but it doesn't work that way. What I'd expect to work: use v6; $*PROGRAM-NAME = 'foo'; say `ps $$`; =output Cannot modify an immutable Str (test.pl) in block <unit> at test.pl line 2 What should happen: use v5.26; $0 = "foo"; say `ps $$`; __DATA__ # PID TTY STAT TIME COMMAND # 5875 pts/1 S+ 0:00 foo