in reply to Re: min $#a, $#b > $#b
in thread min $#a, $#b > $#b

Perl $#arr is done with magic:

Only when used as an lvalue.

Workaround: 0+$#a.