Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2017-06-24 02:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (556 votes). Check out past polls.