DISQUS

The player of games: Curses::Toolkit (part 6) - Focus, implemented using a Role

  • Tomas Doran · 6 months ago
    FYI, you can trivially apply a Moose Role to a non-Moose class.

    My::Role->meta->apply( Class::MOP::Class->initialize( 'Class::To::Apply::To' ) )

    tada..

    No moose needed in the applicant :)
  • dams · 6 months ago
    ah nice !
    Moose is really cool. But I'll probably to the switch and migrate the whole to Moose directly. Thanks anyway. Oh, have you found your passport ? :P