summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Signes <rjbs@cpan.org>2013-05-10 14:24:27 -0400
committerRicardo Signes <rjbs@cpan.org>2013-05-10 14:24:27 -0400
commit5c46a73fa3c94035ce8acd6375f9ff141f229b40 (patch)
tree42e26d96fc7e3f680d9e2d3424212f38487f4b69
parent64a74324052183e19a365f12a6b59b68d6be828d (diff)
downloadperl-5c46a73fa3c94035ce8acd6375f9ff141f229b40.tar.gz
perldelta: no warnings will do no good if you leave out "warnings"
-rw-r--r--pod/perldelta.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 582909d280..7969669594 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -41,7 +41,7 @@ Since some features (like C<~~> or C<my $_>) now emit experimental warnings,
and you may want to disable them in code that is also run on perls that do not
recognize these warning categories, consider using the C<if> pragma like this:
- no if $] >= 5.018, "experimental::feature_name";
+ no if $] >= 5.018, 'warnings', "experimental::feature_name";
Existing experimental features may begin emitting these warnings, too. Please
consult L<perlexperiment> for information on which features are considered