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