Class-Accessor reviews

cpanratings
 

RSS | Module Info | Add a review of Class-Accessor

Class::Accessor::Fast / Class-Accessor (0.19) ****

It does the trick and saves a lot of repetative typing to implement no-frills classes.

One downside: there is very little error checking, so if you mistype the name of an accessor when you are constructing it using the new( { accessor => value } ) style, then it will miss it and cause some unexpected problems in your code.

If you need more robust features, this might not be for you.

Robert Rothenberg - 2004-11-02T18:19:16 (permalink)

Was this review helpful to you?  Yes No

Class-Accessor (0.18) ****

An excellent way to create standard accessors and mutators for your objects. Very fast and with explicit declarations (rather than relying on the AUTOLOAD bodge).

Slight problem if you or any of your super or sub classes ever define a method called 'get' or one called 'set', but otherwise wonderful.

spoon - 2003-08-15T05:25:30 (permalink)

3 out of 3 found this review helpful. Was this review helpful to you?  Yes No
1 hidden unhelpful review