Damn it. I knew it was something simple :)

Thanks Gianni.
 
Cheers,
Ovid
--
IT consulting, training, international recruiting
       http://www.allaroundtheworld.fr/.
Buy my book! - http://bit.ly/beginning_perl
Live and work overseas - http://www.overseas-exile.com/



On Monday, 17 February 2014, 21:04, Gianni Ceccarelli <dak...@thenautilus.net> 
wrote:
 
Maybe:
>
>  My::Role->meta->apply(Some::Other::Class->meta, bridge => ... );
>
>or even better:
>
>  use Moose::Util 'apply_all_roles';
>
>  apply_all_roles('Some::Other::Class','My::Role' => {
>      bridge => My::Class->new({
>
>          foo => 'this is foo',
>          bar => 'this is bar',
>      }),
>  });
>
>(tested)
>
>-- 
>    Dakkar - <Mobilis in mobile>
>    GPG public key fingerprint = A071 E618 DD2C 5901 9574
>                                 6FE2 40EA 9883 7519 3F88
>                        key id = 0x75193F88
>
>Fly Windows NT:
>All the passengers carry their seats out onto the tarmac, placing the
>chairs in the outline of a plane. They all sit down, flap their arms
>and make jet swooshing sounds as if they are flying.
>
>

Reply via email to