On Tue, 24 Feb 2009, Brandon S. Allbery KF8NH wrote:
On 2009 Feb 23, at 22:43, Timothy S. Nelson wrote:
On Mon, 23 Feb 2009, jason switzer wrote:
On Sun, Feb 22, 2009 at 9:47 PM, <pugs-comm...@feather.perl6.nl> wrote:
+ $*PROGRAM_NAME # name of the program being executed
How does this differ from $*EXECUTABLE_NAME?
Good question. Anyone?
I would assume $*PROGRAM_NAME is the script, and $*EXECUTABLE_NAME is the
name of the interpreter. Or the same as $*PROGRAM_NAME if it has been
compiled to native code? Not sure this is useful, which suggests you don't
so much want $*EXECUTABLE_NAME as $?PERL6_IMPLEMENTATION (see my earlier
message).
I discovered where to answer this. Both $EXECUTABLE_NAME and
$PROGRAM_NAME are documented in perl 5's perlvar page. See that documentation
for more information.
:)
---------------------------------------------------------------------
| Name: Tim Nelson | Because the Creator is, |
| E-mail: wayl...@wayland.id.au | I am |
---------------------------------------------------------------------
----BEGIN GEEK CODE BLOCK----
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V-
PE(+) Y+>++ PGP->+++ R(+) !tv b++ DI++++ D G+ e++>++++ h! y-
-----END GEEK CODE BLOCK-----