# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #89704]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=89704 >


<dukeleto> how does one change the current process name in Perl 6? Is
that in the spec somewhere, or is it still implementation-dependent?
* masak goes a-lookin'
<PerlJam> I'd guess the latter though
<PerlJam> I wonder if you could search for "$0"  or "the old $0" and
find something useful.
<masak> $*PROGRAM_NAME
<dukeleto> masak: intetesting. going to play with that now. masak++
<masak> waitwait, I didn't say it *works*! :/
<PerlJam> it's mentioned in src/core/MAIN.pm
<PerlJam> and src/glue/run.pir and src/gen/core.pm
<masak> probably read-only, though...
<masak> rakudo: $*PROGRAM_NAME = "foo"; say "alive"
<p6eval> rakudo 632f81: OUTPUT«Cannot modify readonly value [...]
* masak submits rakudobug

Reply via email to