You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think you can now use role { with 'Moose::Some::Role'; ... };
fyi:
<ufobat> does anyone know how to extend a Moose::Role with a MooseX::Role::Parameterized-Role? their "extending tutorial" is broken
* styxcc has quit (Ping timeout: 240 seconds)
<jink> Broken?
<Altreus> tutorial? :x
<jink> http://search.cpan.org/~ether/MooseX-Role-Parameterized-1.10/lib/MooseX/Role/Parameterized/Tutorial.pod
<jink> Could be broken as in "doesn't work as advertised", but I don't know.
<ufobat> http://search.cpan.org/~ether/MooseX-Role-Parameterized-1.10/lib/MooseX/Role/Parameterized/Extending.pod <- speaks of "MooseX::Role::Parameterized::Meta::Role::Parameterizable"
<ufobat> which was removed in version 1.02 i think
* lawalker has quit (Ping timeout: 276 seconds)
<ufobat> i think with this commit. https://github.com/moose/MooseX-Role-Parameterized/commit/7f8b5dd8b4086becca2e5885b687b50e792f618a it should be possible to have 'role { with 'Some::Moose::Role'; ... }'
<ufobat> but this is not working, because it throws this error: You can only consume roles, MooseX::Storage::Deffered is not a Moose role at /home/martin/perl5/perlbrew/perls/perl-5.26.0/lib/site_perl/5.26.0/x86_64-linux-multi/Moose/Role.pm line 25
<ufobat> Moose::Role::with('MooseX::Role::Parameterized::Meta::Role::Parameterized=HASH(0x1996d30)', 'MooseX::Storage::Deffered') called at /home/martin/perl5/perlbrew/perls/perl-5.26.0/lib/site_perl/5.26.0/MooseX/Role/Parameterized.pm line 80
* nuclightq_ has quit (Read error: Connection reset by peer)
<ufobat> oh, a typo :)
* nuclightq ([email protected]) has joined
<Altreus> solved \o/
<jink> \o/
<ufobat> well, the tutorial is still broken ;)
<ufobat> but yeah :) i am happy enough
Hi there,
The exending tutorial is broken since commit 380f224, because it still uses MooseX::Role::Parameterized::Meta::Role::Parameterizable
The text was updated successfully, but these errors were encountered: