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
  • Loading branch information
tonycoz committed Mar 6, 2024
1 parent 9213b22 commit 34e90fc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pod/perlrun.pod
Original file line number Diff line number Diff line change
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 34e90fc

Please sign in to comment.