Hi,
Autrijus Tang wrote:
> %ret = map { $_ => uc $_ }, split "", $text;
[...]
I suppose my test is wrong.
When I clicked on reply a moment ago, I wanted to propose to change the
hash/code disambiguation rule, so that {...} is always parsed as Code
if the body contains "$_" or "$^...".
But as this change would break the following code, I think we should
leave it as it now.
my @AoH = map {
my $hashref = { $^a => ... };
do_something_with $hashref;
$hashref;
};
--Ingo
--
Linux, the choice of a GNU | Mr. Cole's Axiom: The sum of the
generation on a dual AMD | intelligence on the planet is a constant;
Athlon! | the population is growing.