in reply to Re: Newbie OO module-structure question
in thread Newbie OO module-structure question
... 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/
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Newbie OO module-structure question
by choroba (Cardinal) on Apr 30, 2019 at 09:49 UTC | |
by LanX (Saint) on Apr 30, 2019 at 13:42 UTC | |
Re^3: Newbie OO module-structure question
by karlgoethebier (Abbot) on Apr 30, 2019 at 11:17 UTC | |
by LanX (Saint) on Apr 30, 2019 at 13:36 UTC |