Based on what? Lets see
$ perl -Mstrict -Mwarnings -le " my $hr; $hr->{stuff}" Useless use of hash element in void context at -e line 1. $ perl -Mstrict -Mwarnings -le " my $hr; map { $hr->{stuff} } 1" $ perl -Mstrict -Mwarnings -le " my $hr; $hr->{stuff} for 1" Useless use of hash element in void context at -e line 1.
Please use perlbug and report this bug :)
A similar bug is #68592: 'Useless use of not in void context' should appear in more cases
In reply to Re: Possible useless use of map
by Anonymous Monk
in thread Possible useless use of map
by andreas1234567
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |