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
In reply to Re^8: Syntax for casting map to a hash or an array
by cbeckley
in thread Syntax for casting map to a hash or an array
by cbeckley
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |