$bin[$variable][$othervariable] indexes an element with index $variable in array @bin, which contains an anonymous array reference which is indexed with $othervariable. It's the usual way of creating multi-dimensional arrays in perl.
perldata, perlreftut and perlref explain a lot.