Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 about the Monastery: (7)
As of 2017-03-23 03:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (281 votes). Check out past polls.