Skip Menu |
 

This queue is for tickets about the MooseX-Declare CPAN distribution.

Report information
The Basics
Id: 127549
Status: open
Priority: 0/
Queue: MooseX-Declare

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.43
Fixed in: (no value)



Subject: Mention Method::Signatures::Modifiers in documentation?
Download (untitled) / with headers
text/plain 195b
I think the documentation should recommend to use MooseX::Declare together with Method::Signatures::Modifiers, as most (all?) problems seen with traditional MooseX::Declare usage are fixed then.
Download (untitled) / with headers
text/plain 437b
On 2018-11-02 06:45:48, SREZIC wrote: Show quoted text
> I think the documentation should recommend to use MooseX::Declare > together with Method::Signatures::Modifiers, as most (all?) problems > seen with traditional MooseX::Declare usage are fixed then.
MooseX::Declare shouldn't really be recommended for use anymore. Unfortunately Method::Signatures is severely out of date and not being maintained, so it's not suitable for recommendation either.
Download (untitled) / with headers
text/plain 945b
On 2018-11-02 12:22:01, ETHER wrote: Show quoted text
> On 2018-11-02 06:45:48, SREZIC wrote:
> > I think the documentation should recommend to use MooseX::Declare > > together with Method::Signatures::Modifiers, as most (all?) problems > > seen with traditional MooseX::Declare usage are fixed then.
> > MooseX::Declare shouldn't really be recommended for use anymore. > > Unfortunately Method::Signatures is severely out of date and not being > maintained, so it's not suitable for recommendation either.
If you look at https://rt.cpan.org/Ticket/Display.html?id=103006 , then all of the current recommendations also have their severe problems. It seems to me that using Method::Signatures is not worse as a replacement. (In my situation it was not new code, but existing code which used MooseX::Declare, and for this situation it's good to know what's the simplest way to replace MooseX::Declare as it is, especially to fix the huge performance problems)
Download (untitled) / with headers
text/plain 455b
On 2018-11-02 13:10:41, SREZIC wrote: Show quoted text
> > (In my situation it was not new code, but existing code which used > MooseX::Declare, and for this situation it's good to know what's the > simplest way to replace MooseX::Declare as it is, especially to fix > the huge performance problems)
Including something in the docs for what to do instead of MXD is a great idea! I think nowadays that would be Kavorka/Moops, or with a new enough perl, core signatures.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.