[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: function lookups, just like method lookups! (was Re: [FWP] alien method calls)



Jeff Pinyan wrote:
> On Apr 25, John Porter said:
> >  $o->goo();		# prints "Moo Foo::goo"
> >  $o->Moo::goo();	# prints "Moo Moo::goo"
> 
> That initial 'Moo' should be 'Foo'.  Calling a method on an object of a
> different class doesn't change the object's reference type (as the typos
> might suggest, or might not, or whatever).

Sorry, those were definitely typoes.   ;-)


-- 
John Porter

A pound of cure is worth a megaton of homeopathy.


==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe