In addition to declaring your variables with my (as others have pointed out), you're not properly de-referencing your array or hash references. This
should beforeach my $k (keys %{hash}) {
(and same for de-referencing the array reference in doArrayTidy).foreach my $k (keys %{$hash}) {
In reply to Re^5: Strictly frustrating !
by derby
in thread Strictly frustrating !
by PearlsOfWisdom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |