develooper Front page | perl.perl5.porters | Postings from October 2008

Re: Why are the file test operators in perlfunc?

From:
David Nicol
Date:
October 30, 2008 20:06
Subject:
Re: Why are the file test operators in perlfunc?
Message ID:
934f64a20810302006n326e9c7fva54139cb6c25c826@mail.gmail.com
On Thu, Oct 30, 2008 at 9:48 PM, Michael G Schwern <schwern@pobox.com> wrote:
>
> Would anyone be opposed to their docs being moved to perlop?
>

I think its a good thing that they're listed in perlfunc.  There are a
lot of other things in perlfunc besides "functions" as such, for
instance the discussion of "next," "last," and "redo" which aren't
functions either, they're flow control syntax.

I think its good that there is one thing to remember to get the
documentation about a specific feature, perldoc -f ...

and if the specific features were all broken out into their own
sections, so you had to try several things, or follow "see instead:
..." links, that would be a hassle.

 Adding a note in perlop that says that that is where they live, and
you ask for documentation for the placeholder -X to read about them,
would be a good thing in my opinion though.



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