Class-Accessor reviews

RSS | Module Info

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.

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.
1 hidden unhelpful review