You are passing addtwo() an array reference (the square brackets []), but treating it like a hash reference (by using $params->{structure}). You might need to read up on perlref.
In reply to Re: Stuck on a Perl assignment
by pryrt
in thread Stuck on a Perl assignment
by ickopicko
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |