Useless use of private variable in void context (Perl)
Can you see what is wrong with this Perl code snippet? foreach my $cat (@$categories) { if ($cat->{col} == $column and $cat=>{pos} == $position) { return $cat; } } It gets the “Useless use of private variable in void context” at the last brace. Well, it took me a while, but it was the equal […]