Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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


Comment on Re^3: Help with storing data in a hash
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://664842]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (14)
As of 2014-10-23 19:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (128 votes), past polls