In reply to Perl's feature to determine, in current point of loop, that this is the last one? by Anonymous Monk