in reply to Re^3: Perl's feature to determine, in current point of loop, that this is the last one?
in thread Perl's feature to determine, in current point of loop, that this is the last one?
It's so easy to avoid the limitation. Replace $v eq $values[-1] with \$v == \$values[-1]
In Section
Seekers of Perl Wisdom