On Tue, 23 Apr 2013 16:56:55 +0530
kavita kulkarni <kavitahkulka...@gmail.com> wrote:

> Hello All,
> 
> Can you help me in finding the most time effective way to retrieve the
> key-values from hash in the same sequence in which data is inserted
> into the hash.

Normal hash ordering is unpredictably random.

The Tie::IxHash module on CPAN can be used to obtain the behaviour
you're after, though.



-- 
David Precious ("bigpresh") <dav...@preshweb.co.uk>
http://www.preshweb.co.uk/     www.preshweb.co.uk/twitter
www.preshweb.co.uk/linkedin    www.preshweb.co.uk/facebook
www.preshweb.co.uk/cpan        www.preshweb.co.uk/github



-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to