> # %ENV is in random order
You do realize that hashes do not keep their order, right? They are designed for random access. If you want data back in the original order, use an array.
my @header = map { [lc($_) , $q->http($_)] } $q->http; print "$_[0] => $_[1]\n" for @header";
In reply to Re: Get the order of HTTP request headers
by furry_marmot
in thread Get the order of HTTP request headers
by arc_of_descent
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |