My advice is to avoid them in almost all circumstances.
I was reading Ovid's article on Test::Class just now, and noticed that Test::Class does use subroutine attributes rather extensively.
I'd appreciate if you could comment on that. Is Test::Class the exception in "almost"? Or do you and the author of Test::Class simply disagree on the usefulness of attributes?
| [reply] [d/l] |
I use Test::Class. The sub attributes it uses are relatively simple (nothing too perl), which is good because it makes them harder to screw up. However, I don't find them an improvement over a simple config data structure.
| [reply] |