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

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

Thread Next
From:
James E Keenan via RT
Date:
March 1, 2013 00:35
Subject:
=?UTF-8?B?W3BlcmwgIzExNjk0NV0gRG9jdW1lbnRhdGlvbiBvbiAkb2JqLT5mb286OmJh?= =?UTF-8?B?cijigKYpIG1pc3NpbmcgZnJvbSA1LjE2IHBlcmxvYmo=?=
Message ID:
rt-3.6.HEAD-28177-1362098126-835.116945-15-0@perl.org
On Tue Feb 26 05:47:17 2013, jules@jellybean.co.uk wrote:
> 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.
> 

Let's see if we can find out something from the committer:

commit af36000c88ef5604a340513b05466c8690459612
Author: Dave Rolsky <autarch@urth.org>
Date:   Thu Jul 7 11:35:00 2011 -0500




---
via perlbug:  queue: perl5 status: new
https://rt.perl.org:443/rt3/Ticket/Display.html?id=116945

Thread Next


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