Skip Menu |

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

Report information
The Basics
Id: 107783
Status: open
Priority: 0/
Queue: Devel-Declare

People
Owner: Nobody in particular
Requestors: pzim [...] posteo.de
Cc:
AdminCc:

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



Subject: [Feature Request] Deprecated notice on CPAN
Date: Wed, 14 Oct 2015 21:57:16 +0200
To: bug-Devel-Declare [...] rt.cpan.org
From: Patrick Zimmermann <pzim [...] posteo.de>
I think it would help newcomers getting an overview of the state of the Perl ecosystem if Devel::Declare would sport a similar deprecation notice as MooseX::Declare does.
On 2015-10-14 15:57:34, pzim@posteo.de wrote: Show quoted text
> I think it would help newcomers getting an overview of the state of > the Perl > ecosystem if Devel::Declare would sport a similar deprecation notice > as > MooseX::Declare does.
Before deprecating a module there should be a pointer to alternatives. Are there any?
Subject: [rt.cpan.org #107783]
Date: Mon, 19 Oct 2015 21:17:55 +0200
To: bug-Devel-Declare [...] rt.cpan.org
From: Patrick Zimmermann <pzim [...] posteo.de>
Alternative modules I know of that are serving roughly the same purpose: - https://metacpan.org/pod/Keyword::API - https://metacpan.org/pod/Keyword::Simple - https://metacpan.org/pod/Keyword::Declare (still in alpha) - https://metacpan.org/pod/Devel::CallParser (only XS)
On Thu Oct 15 01:22:15 2015, SREZIC wrote: Show quoted text
> On 2015-10-14 15:57:34, pzim@posteo.de wrote:
> > I think it would help newcomers getting an overview of the state of > > the Perl > > ecosystem if Devel::Declare would sport a similar deprecation notice > > as > > MooseX::Declare does.
> > Before deprecating a module there should be a pointer to alternatives. > Are there any?
By far the best advice would be to use the XS-level PL_keyword_plugin mechanism for real. Any of the pureperl wrappers of it are much much less powerful and interesting, and as far as I can tell all of them basically just present a mechanism to read bits of perl source as text and inject new source as text. None of them work at the *parser* API level, where you can just ask perl to parse perl, and build up new code and results of the parsing step for real. It would be a shame to switch to recommending other things that are little better than source filters when we could be pointing people at something *so* much better. -- Paul Evans