From: Ricardo Signes Date: Tue, 7 May 2013 02:31:40 +0000 (-0400) Subject: update perldiag with new warnings X-Git-Tag: v5.18.0-RC1~64 X-Git-Url: https://perl5.git.perl.org/perl5.git/commitdiff_plain/44abfe822fdc028f992f13755dad520922c6d20a update perldiag with new warnings --- diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 8bcdd33..2dc5514 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -4316,6 +4316,11 @@ is true for "LATIN SMALL LETTER Y WITH DIAERESIS", but since the upper case of that character is not in Latin1, in that locale it doesn't change when upper cased. +=item Quantifier {n,m} with n > m can't match in regex + +(W regexp) Minima should be less than or equal to maxima. If you really +want your regexp to match something 0 times, just put {0}. + =item Quantifier follows nothing in regex; marked by <-- HERE in m/%s/ (F) You started a regular expression with a quantifier. Backslash it if @@ -5077,6 +5082,17 @@ warning: no warnings "experimental::regex_sets"; +=item The %s feature is experimental + +(S experimental) This warning is emitted if you enable an experimental +feature via C. Simply suppress the warning if you want +to use the feature, but know that in doing so you are taking the risk +of using an experimental feature which may change or be removed in a +future Perl version: + + no warnings "experimental::lexical_subs"; + use feature "lexical_subs"; + =item The %s function is unimplemented (F) The function indicated isn't implemented on this architecture, according