On 09/13/2017 09:35 PM, ToddAndMargo wrote:
On 09/13/2017 09:33 PM, ToddAndMargo wrote:
Hi All,

Is there a what the get @*ARGS to cough up the program's name?

Many thanks,
-T

Figured it out:

<code>
#!/usr/bin/perl
print "My name is $0\n";
</code>





Oops.  This Perl 5

P6 is
my $WhoAmI = $*PROGRAM-NAME;

Reply via email to