develooper Front page | perl.perl6.users | Postings from September 2017

Re: Any way to get hashes to loop in order?

Thread Previous
From:
ToddAndMargo
Date:
September 30, 2017 02:05
Subject:
Re: Any way to get hashes to loop in order?
Message ID:
45d359fc-bf82-4134-7e4a-f74b8b9de124@zoho.com
On 09/29/2017 06:55 PM, ToddAndMargo wrote:
> Hi List,
> 
> for %SmtpIni.kv -> $key, $value { say $key; }
> 
> Does "say" the keys in the order that I created them.
   Does not

Stinking typos


> Is there a way to get them to do so?
> 
> 
> Many thanks,
> -T


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Computers are like air conditioners.
They malfunction when you open windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About