S06.pod says (line 2698):

: Ordinarily a top-level Perl "script" just evaluates its anonymous
: mainline code and exits.  During the mainline code, the program's
: arguments are available in raw form from the C<@ARGS> array.  At the end of
: the mainline code, however, a C<MAIN> subroutine will be called with
: whatever command-line arguments remain in C<@ARGS>.  This call is
: performed if and only if:

Should these be C<@*ARGS> instead?

Pm

Reply via email to