develooper Front page | perl.perl5.porters | Postings from May 2016

Re: Sub::StrictDecl (was: Indirect object syntax)

Thread Previous | Thread Next
From:
Zefram
Date:
May 26, 2016 14:17
Subject:
Re: Sub::StrictDecl (was: Indirect object syntax)
Message ID:
20160526141736.GK16984@fysh.org
Ed Avis wrote:
>Thanks for pointing out Sub::StrictDecl - it looks very handy.  Are there
>any plans to include it in core?

No, and there would be no intrinsic gain in doing so.  The implementation
is perfectly clean as it is, as an independent XS module.  The only
potential benefit would be the possibility of including it in a future
"use 5.030" feature bundle.  As it imposes a somewhat unPerlish discipline
(analogous to strict "vars"), it would be quite contentious to get it
added to such a bundle.

(It certainly is handy.  When I first wrote it, applying it across the
entire $ork codebase instantly uncovered about twenty missing imports.)

-zefram

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About