X-Git-Url: http://git.shiar.net/perl/plp/.git/blobdiff_plain/7509565253b19493771cfc2e13ab166f1a8cc5f8..refs/tags/3.17:/PLP/FAQ.pod?ds=sidebyside diff --git a/PLP/FAQ.pod b/PLP/FAQ.pod index 2aac805..91965cb 100644 --- a/PLP/FAQ.pod +++ b/PLP/FAQ.pod @@ -1,4 +1,8 @@ -=head1 Frequently Asked Questions about PLP +=head1 NAME + +PLP::FAQ - Frequently Asked Questions about PLP + +=head1 FAQ =over 10 @@ -90,7 +94,7 @@ run-time errors. To do so, set the 0-bit (1) of C<$PLP::DEBUG> off. If you only want error reporting disabled for a single command, use Perl's C function (not C, but C, which is not slow or insecure.). - <: $PLP::DEBUG ^= 1 if $PLP::DEBUG & 1; :> + <: $PLP::DEBUG &= ~1; :> =item Can I have my own error messages? @@ -111,7 +115,7 @@ version. There is. Set C<$PLP::DEBUG>'s 1-bit (2), and it will output a plain text header before outputting the other one. - <: $PLP::DEBUG ^= 2 unless $PLP::DEBUG & 2 :> + <: $PLP::DEBUG |= 2; :> =back