Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • So we already have a mechanism in place whereby extra parameters can be passed into a role during composition, see Recipie 11 [] for an example of the features that utilize this. Basically anything that is not another string passed after the roles gets turned into params (rjbs++ for Data::OptList which basically does all that work for me). So your examples would basically turn into this:

    with 'My::Role'; ### no need to change this

    with 'MooseX::Log::Log4perl' => [ ':easy' ]; ### this might not exactly work