This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
De-emphasise switch-related keywords in perlfunc.
authorNicholas Clark <nick@ccl4.org>
Sun, 19 Feb 2012 18:54:38 +0000 (19:54 +0100)
committerNicholas Clark <nick@ccl4.org>
Sat, 17 Mar 2012 10:16:15 +0000 (11:16 +0100)
commitdba7b06570fc6c08715b9cb0ae9b7662e7e6fee2
tree44fecb0cf4433573af00e62e355ea16a2710766c
parentde9ddc2658f2fe67a3d6a86e14eb6634e2fb7e6f
De-emphasise switch-related keywords in perlfunc.

Move the 3 non-function keywords into the summary cross reference section
at the end of perlfunc. Eliminate the examples which duplicate examples in
perlsyn. Merge the remaining 2 keywords into the "control flow" group.
Note that the switch feature is considered experimental.

With these changes, `perldoc -f default`, `perldoc -f given` and
`perldoc -f when` will still return a helpful result, and as before will
refer the reader to perlsyn for full information.
ext/Pod-Functions/t/Functions.t
pod/perlfunc.pod