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

[perl #117891] Documentation for C<tie> incorrectly refers to C<new>

Thread Previous
From:
Brad Gilbert
Date:
May 6, 2013 16:13
Subject:
[perl #117891] Documentation for C<tie> incorrectly refers to C<new>
Message ID:
rt-3.6.HEAD-28177-1367856797-1461.117891-75-0@perl.org
# New Ticket Created by  Brad Gilbert 
# Please include the string:  [perl #117891]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=117891 >


Right now the documentation for C<tie> in L<perlfunc> says:

    Any additional arguments are passed to the C<new> method of the class
    (meaning TIESCALAR , TIEHANDLE , TIEARRAY , or TIEHASH )

I want to change it to

    Any additional arguments are passed to the appropriate constructor
    method of the class
    (meaning TIESCALAR , TIEHANDLE , TIEARRAY , or TIEHASH )

It also says

    The object returned by the C<new>
    method is also returned by the C<tie> function, ...

Which I want to change to

    The object returned by the
    constructor is also returned by the C<tie> function

Patch attached

Perl <- for spam filter

Thread Previous


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