Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MooseX::Role::Parameterized::Meta::Role::Parameterizable; in extending tutorial #7

Open
ufobat opened this issue May 3, 2018 · 1 comment

Comments

@ufobat
Copy link

ufobat commented May 3, 2018

Hi there,

The exending tutorial is broken since commit 380f224, because it still uses MooseX::Role::Parameterized::Meta::Role::Parameterizable

@ufobat
Copy link
Author

ufobat commented May 3, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant