develooper Front page | perl.perl5.porters | Postings from December 2021

Re: "no snails"; or having signatured subs complain about @_

Thread Previous | Thread Next
Dave Mitchell
December 10, 2021 17:19
Re: "no snails"; or having signatured subs complain about @_
Message ID:
On Thu, Dec 09, 2021 at 04:58:57PM -0500, Dan Book wrote:
> > Having read the prior arguments, I'm kinda with Dave on this one.
> > @DB::args is already shockingly broken in a lot of ways. Making it
> > always appear empty when called within a signatured sub is, honestly,
> > not the worst of its already-current breakages.
> This isn't going to be much consolation to users who are currently relying
> on it and have not experienced the bugs.

But @DB::args (and thus croak() stack trace argument display etc) would
only disappear on signature subs. No existing code not using experimental
features would be affected.

And it's only ever been intended for use in debugging etc, not in

If life gives you lemons, you'll probably develop a citric acid allergy.

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About