Re: program name and @*ARGS

2017-09-13 Thread ToddAndMargo

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:


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







Oops.  This Perl 5

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


Re: program name and @*ARGS

2017-09-13 Thread ToddAndMargo

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:


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




--
~~
Computers are like air conditioners.
They malfunction when you open windows
~~