in reply to Re: multiply hash values
in thread multiply hash values

Ooops, you used too big a club ...
my %h = qw( a 1 b 2 c 3 ); map { $_ *= 4 } values %h;

Replies are listed 'Best First'.
Re^3: multiply hash values
by chromatic (Archbishop) on Oct 28, 2004 at 00:09 UTC
    $_ *= 4 for values %h;
      You can cut that swing a little closer.
      #23456789_1 $_*=4for%h;