Hi hallikpapa
You simply declare %calls in outside of the subroutine call_type like
my %calls; foreach my $d (@dates) { %calls = &call_type( $d, $d ); }
Punitha
In reply to Re^3: Help with storing data in a hash
by Punitha
in thread Help with storing data in a hash
by hallikpapa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |