develooper Front page | perl.perl5.porters | Postings from June 2013

[perl #118369] perllexwarn doesn't list experimental feature categories

Thread Previous | Thread Next
From:
James E Keenan via RT
Date:
June 10, 2013 01:25
Subject:
[perl #118369] perllexwarn doesn't list experimental feature categories
Message ID:
rt-3.6.HEAD-2552-1370827505-246.118369-15-0@perl.org
On Fri Jun 07 19:04:35 2013, doherty@cpan.org wrote:
> 
> This is a bug report for perl from doherty@cpan.org,
> generated with the help of perlbug 1.39 running under perl 5.18.0.
> 
> 
> -----------------------------------------------------------------
> [Please describe your issue here]
> 
> perllexwarn doesn't list the experimental warnings categories
> in the category hierarchy. Only lexical_subs is listed. All
> features with an experimental warning category should be
> included.
> 

Do we have a definitive list of the other warnings which ought to be
included here?

I ask because, in search the master branch, I first find this:

#####
"regen/warnings.pl"
     87         'experimental'  => [ 5.017, {
     88                                 'experimental::lexical_subs' =>
     89                                     [ 5.017, DEFAULT_ON ],
     90                                 'experimental::regex_sets' =>
     91                                     [ 5.017, DEFAULT_ON ],
     92                                 'experimental::lexical_topic' =>
     93                                     [ 5.017, DEFAULT_ON ],
     94                                 'experimental::smartmatch' =>
     95                                     [ 5.017, DEFAULT_ON ],
     96                         }],
#####

This suggests that 'regex_sets', 'lexical_topic' and 'smartmatch' are
the other categories which need to be added to pod/perllexwarn.pod.

However, further search also brings up 'feature_name' -- but only in
perldelta:

#####
$ ack 'experimental::feature_name' 
pod/perl5180delta.pod
21:    no warnings "experimental::feature_name";
35:    no warnings "experimental::feature_name";
44:    no if $] >= 5.018, 'warnings', "experimental::feature_name";
#####

Should 'feature_name' be added to *both* pod/perllexwarn.pod and
regen/warnings.pl?

Thank you very much.
Jim Keenan

---
via perlbug:  queue: perl5 status: new
https://rt.perl.org:443/rt3/Ticket/Display.html?id=118369

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About