in reply to understanding curly braces surrounding an array

It's a bug fix. For a long time, $#{@array} was identical to $#array. Which doesn't make sense. Perl 5.10 fixed this issue.