in reply to Re: min $#a, $#b > $#bin thread min $#a, $#b > $#b
Perl $#arr is done with magic:
Only when used as an lvalue.
Workaround: 0+$#a.