Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Name of calling program

0 views
Skip to first unread message

ToddAndMargo via perl6-users

unread,
Dec 7, 2022, 12:15:03 PM12/7/22
to perl6-users
Hi All,

When I am in a module (pm6), is there one of those
fancy system variables that will tell me the
name of calling (pl6) program?

Many thanks,
-T

Gianni Ceccarelli

unread,
Dec 7, 2022, 12:45:03 PM12/7/22
to perl6...@perl.org
On Wed, 7 Dec 2022 08:58:19 -0800
ToddAndMargo via perl6-users <perl6...@perl.org> wrote:

> When I am in a module (pm6), is there one of those
> fancy system variables that will tell me the
> name of calling (pl6) program?

https://docs.raku.org/language/variables#index-entry-$*PROGRAM

--
Dakkar - <Mobilis in mobile>
GPG public key fingerprint = A071 E618 DD2C 5901 9574
6FE2 40EA 9883 7519 3F88
key id = 0x75193F88

ToddAndMargo via perl6-users

unread,
Dec 7, 2022, 2:15:03 PM12/7/22
to perl6...@perl.org
On 12/7/22 09:06, Gianni Ceccarelli wrote:
> On Wed, 7 Dec 2022 08:58:19 -0800
> ToddAndMargo via perl6-users <perl6...@perl.org> wrote:
>
>> When I am in a module (pm6), is there one of those
>> fancy system variables that will tell me the
>> name of calling (pl6) program?
>
> https://docs.raku.org/language/variables#index-entry-$*PROGRAM
>

Thank you!
0 new messages