develooper Front page | perl.perl5.porters | Postings from November 2022

Re: undeclared named subs/subrefs under strict

Thread Previous | Thread Next
From:
Branislav Zahradník
Date:
November 22, 2022 05:48
Subject:
Re: undeclared named subs/subrefs under strict
Message ID:
CAB=rbO=hzmjtq5eZr6TvjocOa6P_Rcr9V1i1QkrJy3pjryBjug@mail.gmail.com
> Have a look at how https://metacpan.org/pod/Sub::StrictDecl does it.
>
> Once we decide how to do non-default strictures, would it be worth
> bringing it into core?
>
>
IMHO it can be directly enabled with "use SOME_VERSION", handy workflow
already exists

sub foo;
sub AUTOLOAD { our $AUTOLOAD; say $AUTOLOAD; }

Brano

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