http://www.perlmonks.org?node_id=680532

MimisIVI has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,

I need to save info with a fast way in Perl and to be able to read this info fast too... For example the below loop seems in simplified way what i want to improve.. I have three values in each loop time to save and by using a hash of hash it takes 15 secs..

my %save; for(0 .. 2000000) { $save{$_}{$_+1}=$_+2; }


Do you have any idea how can i save data fast????

Thanks!!!