summaryrefslogtreecommitdiff
path: root/autodoc.pl
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-05-07 10:04:40 -0600
committerKarl Williamson <public@khwilliamson.com>2013-05-20 11:01:51 -0600
commit58a428bba943d9d3e6057e7ea3202ea3562c557a (patch)
tree5e316d5d51eb502ebbcd69d5ae17307912fdff26 /autodoc.pl
parentfdfb35c800b283d7f03f2b03dc5a1adb81a4a6e4 (diff)
downloadperl-58a428bba943d9d3e6057e7ea3202ea3562c557a.tar.gz
perlapi: Move 'experimental' warning to front of entries
In a long multi-paragraph entry, the fact that the described function is considered experimental may be lost, as it comes at the end. This just moves it to the front.
Diffstat (limited to 'autodoc.pl')
-rw-r--r--autodoc.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/autodoc.pl b/autodoc.pl
index 6fea97094f..59dc6f03f3 100644
--- a/autodoc.pl
+++ b/autodoc.pl
@@ -178,8 +178,8 @@ future release of Perl. Do not use it for new code; remove it from
existing code.\n\n$docs";
}
else {
- $docs .= "NOTE: this function is experimental and may change or be
-removed without notice.\n\n" if $flags =~ /x/;
+ $docs = "\n\nNOTE: this function is experimental and may change or be
+removed without notice.\n\n$docs" if $flags =~ /x/;
}
$docs .= "NOTE: the perl_ form of this function is deprecated.\n\n"
if $flags =~ /p/;