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

=?UTF-8?B?W3BlcmwgIzExNjk0NV0gRG9jdW1lbnRhdGlvbiBvbiAkb2JqLT5mb286OmJh?= =?UTF-8?B?cijigKYpIG1pc3NpbmcgZnJvbSA1LjE2IHBlcmxvYmo=?=

Thread Previous
From:
Julian Bean
Date:
February 27, 2013 21:51
Subject:
=?UTF-8?B?W3BlcmwgIzExNjk0NV0gRG9jdW1lbnRhdGlvbiBvbiAkb2JqLT5mb286OmJh?= =?UTF-8?B?cijigKYpIG1pc3NpbmcgZnJvbSA1LjE2IHBlcmxvYmo=?=
Message ID:
rt-3.6.HEAD-31961-1361886437-860.116945-75-0@perl.org
# New Ticket Created by  Julian Bean 
# Please include the string:  [perl #116945]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=116945 >


Hi,

The documentation for the particular form of method invocation where you specify a package name to begin the dispatch at:

$obj->foo::bar(….)

was present in perlobj(1) up until 5.14 ( see https://github.com/mirrors/perl/blob/maint-5.14/pod/perlobj.pod ) with an example 

$barney->Critter::display("Height", "Weight");

It seems that perlobj got rewritten in 5.16 branch and this part of the file has changed, completely removing all mention of that feature. I think it deserves a mention not least because there are modules on CPAN which use this style as their api. Ideally the paragraph would also mention that you can start dispatch at an arbitrary package not necessarily in the MRO of the object.

Thanks,

Jules

PS Nicholas told me to mention soup.


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