Your problems are pretty much all caused by misuse of prototypes. Just get rid of them. There is rarely a good reason to give Perl subs prototypes.
In reply to Re^3: Dereferencing arrays
by tobyink
in thread <SOLVED>Dereferencing arrays
by divitto
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |