Skip Menu |

This queue is for tickets about the Sympatic CPAN distribution.

Report information
The Basics
Id: 127984
Status: open
Priority: 0/
Queue: Sympatic

People
Owner: Nobody in particular
Requestors: perl [...] toby.ink
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 0.0
  • 0.1
  • 0.1_001
  • 0.1_002
  • 0.2_01
Fixed in: (no value)



Subject: Add a way to load Moo::Role instead of Moo
Something like: use Sympatic::Role; or: use Sympatic 'Role';
Subject: Re: [rt.cpan.org #127984] Add a way to load Moo::Role instead of Moo
Date: Tue, 11 Dec 2018 07:34:03 +0100
To: Toby Inkster via RT <bug-Sympatic [...] rt.cpan.org>
From: Marc Chantreux <eiro [...] phear.org>
Hi Toby, i take this ticket as an opportunity to thank you for your work on CPAN! you made our live much easier :) also i'm thanks for your interest about sympatic. Show quoted text
> Subject: Add a way to load Moo::Role instead of Moo > use Sympatic::Role; > use Sympatic 'Role';
we obviously should have that and i wonder what could be the best way from the user perspective. use Sympatic::Role; is in front of use Moo::Role; so this is easy to memorize. Also for the moment, the Sympatic interface is really easy as you can just shutdown features ... like Sympatic -oo -utf8io .... so Sympatic 'role' would be the first "opt in" option. what do you think ? regards marc
Subject: Re: [rt.cpan.org #127984] Add a way to load Moo::Role instead of Moo
Date: Tue, 11 Dec 2018 17:55:46 +0100
To: Marc Chantreux via RT <bug-Sympatic [...] rt.cpan.org>
From: Marc Chantreux <eiro [...] phear.org>
hello Toby, Show quoted text
> use Sympatic::Role; > Sympatic -oo -utf8io ....
ok ... i finally implemented both of them as use Sympatic::Role; is a way to do use Sympatic -class; please check https://github.com/sympa-community/p5-sympatic/commit/19cdfa795342940bb77ce6a7813c498e05dfefff and please tell me if it works for you. i can release a 0.2 soon if you need it but don't put it in production until this bug to be fixed: https://github.com/dams/moox-lvalueattribute/issues/5 i have to work on it. I have a test suite but no clue about the reason it happens. regards marc
Sorry for slow reply. Looks good to me!