http://www.perlmonks.org?node_id=1227446


in reply to Re^3: Python tricks
in thread Python tricks

It is $# built in variable what is deprecated, see https://perldoc.perl.org/perlvar.html. $#varname returns the largest index of @varname array.