[Israel.pm] Uses for Attributes

Shmuel Fomberg semuelf at 012.net.il
Tue Mar 20 10:11:53 PDT 2007


Hello There.

Shlomi Fish said:
> Back on the last Israel.pm meeting I've discussed attributes ( 
> http://perldoc.perl.org/attributes.html ) with Sagiv in the context of

> Catalyst. He asked me to find places where attributes would be useful.
I 
> thought of a few there, but here are more I collected:

It is probably adopted from C#, but even there I never understood what
it's good for.
It's a way to.. tag things. Like the regular OO way isn't good for them,
(where you can make and query an is-a relation) they want something
more.
Weird. 

Shmuel.





More information about the Perl mailing list