Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Help with storing data in a hash

by Punitha (Priest)
on Jan 29, 2008 at 04:44 UTC ( #664842=note: print w/replies, xml ) Need Help??


in reply to Re^2: Help with storing data in a hash
in thread Help with storing data in a hash

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://664842]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2017-07-27 23:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (422 votes). Check out past polls.