[perl #76882] method reference causes Null PMC

2013-05-29 Thread Will Coleda via RT
On Mon Oct 03 11:48:33 2011, coke wrote: > On Sat Jul 31 14:20:52 2010, wenzel.peppme...@gmx.de wrote: > > use v6; > > > > class A { > >method b(){ say 'butterfly'; }; > > }; > > > > my $a = A.new(); > > my $method_ref = $a.^can('b'); > > $method_ref($a); > > > > sub foo($o, $m){ > >$m($

[perl #76882] method reference causes Null PMC

2011-10-03 Thread Will Coleda via RT
On Sat Jul 31 14:20:52 2010, wenzel.peppme...@gmx.de wrote: > use v6; > > class A { >method b(){ say 'butterfly'; }; > }; > > my $a = A.new(); > my $method_ref = $a.^can('b'); > $method_ref($a); > > sub foo($o, $m){ >$m($o); > }; > > foo($a, $method_ref); > > -- > > butterfly > Null P

[perl #76882] method reference causes Null PMC

2010-07-31 Thread via RT
# New Ticket Created by Wenzel Peppmeyer # Please include the string: [perl #76882] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76882 > use v6; class A { method b(){ say 'butterfly'; }; }; my $a = A.new(); my $metho