This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Mention sort in warnings about sort sub retvals
authorFather Chrysostomos <sprout@cpan.org>
Thu, 13 Oct 2011 03:28:21 +0000 (20:28 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 13 Oct 2011 06:28:30 +0000 (23:28 -0700)
commitd4c6760ad383a9419aef88be3abd479ebcfb6d36
tree8e3c8e8433a320c12ecb90efcb57abadd8f82f95
parent1bd4e8e3299afcce93457b0dd2e33e3c7c466c98
Mention sort in warnings about sort sub retvals

With this commit,

$ ./miniperl -we '()=sort { undef } 1,2'
Use of uninitialized value at -e line 1.

becomes

$ ./miniperl -we '()=sort { undef } 1,2'
Use of uninitialized value in sort at -e line 1.
pp_sort.c
t/lib/warnings/9uninit