On Feb 13, 2009, at 11:50 PM, Larry Wall wrote:

On Fri, Feb 13, 2009 at 11:34:03PM -0600, Chris Dolan wrote:
Argh! I submitted a patch implementing $?PROGRAM in Rakudo literally 5
minutes before you sent this...

  http://rt.perl.org/rt3/Ticket/Display.html?id=63228

Indeed, why do you think I fixed the spec?  :)

But don't worry, we tend to do thing on the basis of forgiveness
rather than permission, so I'm glad you did that or I wouldn't have
noticed the $?PROGRAM problem.  (The reason it can't be $?PROGRAM is
that the name of the eventual executable program can't necessarily
be known at compile time, which $? implies.  $? variables have to be
constants known at compile time.)

Larry

Aha!  Thanks for clarifying that.

However, now S19 and S02-magicals/progname.t disagree on whether PROCESS::<$PROGRAM_NAME> means $^X='/usr/bin/perl' or $0='foo.pl'. S02 suggests $*PERL is $^X. Maybe PROCESS::<$PERL_EXECUTABLE> for $^X?

Chris

Reply via email to