diff options
author | Karl Williamson <public@khwilliamson.com> | 2013-04-30 08:42:08 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2013-05-20 11:01:50 -0600 |
commit | 8c869419331313c43ddda5b1eecd01939b013125 (patch) | |
tree | 7643c116580b481835d6303646cda53df55bd442 /autodoc.pl | |
parent | d4e99c76278c7e400307b1a7ceeb3b27676dfd3d (diff) | |
download | perl-8c869419331313c43ddda5b1eecd01939b013125.tar.gz |
autodoc.pl: Don't list undocumented deprecated fcns in API
autodoc creates a list of all the undocumented functions that are part
of the API. It omits ones that are experimental and whose API may
change; and now it omits ones that are deprecated (and whose API is
planned to change to be non-existent)
Diffstat (limited to 'autodoc.pl')
-rw-r--r-- | autodoc.pl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/autodoc.pl b/autodoc.pl index 7f60443cd7..6fea97094f 100644 --- a/autodoc.pl +++ b/autodoc.pl @@ -382,8 +382,9 @@ foreach (sort keys %missing) { # walk table providing an array of components in each line to # subroutine, printing the result -# List of funcs in the public API that aren't also marked as experimental. -my @missing_api = grep $funcflags{$_}{flags} =~ /A/ && $funcflags{$_}{flags} !~ /M/ && !$docs{api}{$_}, keys %funcflags; +# List of funcs in the public API that aren't also marked as experimental nor +# deprecated. +my @missing_api = grep $funcflags{$_}{flags} =~ /A/ && $funcflags{$_}{flags} !~ /[MD]/ && !$docs{api}{$_}, keys %funcflags; output('perlapi', <<'_EOB_', $docs{api}, \@missing_api, <<'_EOE_'); =head1 NAME |