- or download this
$ perl test.pl
syntax error at test.pl line 17, near "get_date;"
Execution of test.pl aborted due to compilation errors.
- or download this
$ perl test.pl
Hello World!
...
SA - YEAR: 2019, MONTH: 5, DAY: 77
END ing script test.pl
- or download this
#!/usr/bin/perl
use strict;
...
($year, $month, $day) = get_date;
print "SA - YEAR: $year, MONTH: $month, DAY: $day\n";
print "\n\t\t END ing script $0\n";