2 ms·
The Moose example separates the business & display logic. So its easy to slot in another display class when needed: extends qw(AnimalsGame HTMLGame); NB.
by draegtun 17y ago
The Moose example separates the business & display logic. So its easy to slot in another display class when needed:
extends qw(AnimalsGame HTMLGame);
NB. Personally I would probably have used roles rather than multiple inheritance though.