On Wed, 10 Mar 2010 12:19:12 -0500
Sir Robert Burbridge <[email protected]> wrote:
> What's bad about them? What makes them "annoying and ugly?"
The biggest problem with Attributes in general is that they are just
dumb strings. All that you see in Cat ":PathPart('blah')" has to be
parsed and ascribed meaning. PathPart isn't special. It isn't really
some function call. And once you strip away the veneer and realize what
an ugly hack it is built on top of parsed strings given meaning, you
want to avoid them for representing complex pieces of information.
For further reading: perlsub, attributes, and Attribute::Handlers
--
Nicholas Perez
XMPP/Email: [email protected]
http://search.cpan.org/~nperez/
http://github.com/nperez