in reply to Re^2: Automatic Loop Counter not in perl
in thread Automatic Loop Counter not in perl

So, if

$#

is depreciated. Is there something equivalent to use?

Have a nice day :-)