| CPAN Ratings (Gamma) Attribute-Types reviews | |
| Home | Search | About | Login |
RSS | Module Info | Add a review of Attribute-Types
2 out of 13 found this review helpful:
I only gave Attribute::Types a 1-star rating to visibly lower the rating that it's listed with in the search results, so that users get a chance to see there's an alternative module instead.
This module is old and no longer maintained. Use Moose instead.
Dan Dascalescu - 2009-04-08 06:22:39
Was this review helpful to you?
Yes
No
From some very limited experiments, this is a very simple and effective way to control the types and values of variables in Perl.
This is a good way to enforce types or to catch errors in debugging. Though I'm unsure about using it in production code, especially since attributes are (were?) a moving target and subject to change.
A *major downside* is that assignment to variables is seriously slowed down, due to the fact that they become tied to a function that restricts their type. So don't use it for any time-sensitive code.
And of course it seems to increase a variable's size.
Robert Rothenberg - 2004-06-01 08:37:34
Was this review helpful to you?
Yes
No
|
|
|