[Israel.pm] object oriented anonymous autoloading?

Yuval Kogman nothingmuch at woobling.org
Mon Oct 13 13:48:38 PDT 2008


On Sun, Oct 12, 2008 at 22:08:26 +0200, Gabor Szabo wrote:

> use overload
> 	'""' => \&f,

I would reccomend doing

    '""' => "f",

instead, that way the overload respects inheritence.

-- 
  Yuval Kogman <nothingmuch at woobling.org>
http://nothingmuch.woobling.org  0xEBD27418

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://perl.org.il/pipermail/perl/attachments/20081013/7fc59b77/attachment.pgp 


More information about the Perl mailing list