Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: How to create a non uniform multi-dimention array with push?

by state-o-dis-array (Hermit)
on May 23, 2013 at 21:10 UTC ( #1035027=note: print w/replies, xml ) Need Help??


in reply to How to create a non uniform multi-dimention array with push?

I'm not sure I'm clear on all the requirements, but if the time intervals are known and consistent for each index, meaning you won't need to store them, you could:
push( @{$log[$error_type_index]}, $error_count );

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1035027]
help
Chatterbox?
and dust plays in a shaft of sunlight...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2017-04-28 15:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (525 votes). Check out past polls.