Howdy,

> Thanks guys for sticking up for me.  I am just old-fashioned, I guess; for
> better or for worse, I'm not interested in changing/fixing Perl itself, just
> in finding & writing reusable code that meets my needs without adding stuff
> that doesn't.

Wow, I was taken aback when I read "not interested in changing/fixing
Perl itself". Ever heard of technical debt? You can feel it every time
you type "my ($self) = @_".  Also, Perl 5 doesn't have OO, it has
blessed scalars. Just sayin' ;).

If you want to maximize your code reuse, I suggest drinking the Moose
Koolaid and learning about roles [1]. Chromatic has a pretty nice
description [2] and hdp gave a nice description of them at a recent
PDX.pm [3].

Cheers,

[1] http://search.cpan.org/dist/Moose/lib/Moose/Role.pm
[2] http://www.modernperlbooks.com/mt/2009/04/the-why-of-perl-roles.html
[3] http://www.weftsoar.net/~hdp/talk/meta-moose/slides/start.html


-- 

Jonathan Leto
jonat...@leto.net
http://leto.net

Reply via email to