Skip to content

Commit

Permalink
S03: C<true> should be C<so>
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaud committed Jun 25, 2012
1 parent fd60e99 commit 26b64e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S03-operators.pod
Original file line number Diff line number Diff line change
Expand Up @@ -3851,7 +3851,7 @@ that returns a constant boolean value.)

Note also that regex matching does I<not> return a C<Bool>, but merely
a C<Match> object that can be used as a boolean value. Use an explicit
C<?> or C<true> to force a C<Bool> value if desired.
C<?> or C<so> to force a C<Bool> value if desired.

The primary use of the C<~~> operator is to return a boolean value in
a boolean context. However, for certain operands such as regular
Expand Down

0 comments on commit 26b64e4

Please sign in to comment.