Skip to content

Commit

Permalink
perlrun: document the exit status for the -c option
Browse files Browse the repository at this point in the history
Fixes #21686
  • Loading branch information
tonycoz committed Apr 14, 2024
1 parent ba0d313 commit 0e766d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pod/perlrun.pod
Expand Up @@ -355,6 +355,10 @@ or C<CHECK> blocks and any C<use> statements: these are considered as
occurring outside the execution of your program. C<INIT> and C<END>
blocks, however, will be skipped.

If the syntax check is successful perl will exit with a status of zero
and report C<I<yourprogram> syntax OK>. On failure perl will print
any detected errors and exit with a non-zero status.

=item B<-d>
X<-d> X<-dt>

Expand Down

0 comments on commit 0e766d6

Please sign in to comment.