develooper Front page | perl.perl5.porters | Postings from February 2019

[perl #133823] strict does not ban all barewords

Thread Next
Chris Wagner via RT
February 5, 2019 19:54
[perl #133823] strict does not ban all barewords
Message ID:
The behavior of sort() is especially aberrant.

I found an even older ticket!

This is surely the source of many sideways bugs.

Why doesn't sort() require the & character to name a sorting subroutine just like every other grab of a subroutine?
exists &foo;
defined &foo;
goto &foo;

sort &foo @list;

via perlbug:  queue: perl5 status: open

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