develooper Front page | perl.perl6.users | Postings from December 2022

Re: Name of calling program

Thread Previous | Thread Next
From:
Gianni Ceccarelli
Date:
December 7, 2022 17:33
Subject:
Re: Name of calling program
Message ID:
20221207170638.7e0bf453@exelion
On Wed, 7 Dec 2022 08:58:19 -0800
ToddAndMargo via perl6-users <perl6-users@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


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About