in reply to Force access a Hash ref as Array ref
sub new { my $obj = bless{ Order => [], Items => {}, Config => {}, }, shift @_; my (undef, $itemValues) = @_ ; my @asList = %$itemValues; while (@asList) { my ($key, $val) = splice @asList, 0, 2;
Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Force access a Hash ref as Array ref
by Anonymous Monk on Jul 20, 2021 at 14:58 UTC |
In Section
Seekers of Perl Wisdom