in reply to Re^7: Syntax for casting map to a hash or an array
in thread Syntax for casting map to a hash or an array
Ugh, right, that was a typo. I was trying to compare these two lines.
say Dumper(\%{ {map { $_ => 'fish' } qw(one two red blue)} } ); say Dumper({map { $_ => 'fish' } qw(one two red blue)});
Thank you for the correction.
Thanks,
cbeckley
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: Syntax for casting map to a hash or an array
by shmem (Chancellor) on Apr 05, 2017 at 19:28 UTC | |
by stevieb (Canon) on Apr 05, 2017 at 19:30 UTC |