... but can you introspect the tasks with My::Task role, in order to DRY°?
In other words, is it possible to loop over all classes which have a role instead of hardcoding it at the end?
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
°) don't repeat yourself
fixed auto-correction: s/introspective/introspect/
In reply to Re^2: Newbie OO module-structure question
by LanX
in thread Newbie OO module-structure question
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |