in reply to Re: A hash question
in thread A hash question

Hm, why didn't I came with that? I am becoming slow... Too much alcohol :-)

Thnx, perl being :-)

BTW, shouldn't the last line be like:

@load{qw(ONE FIVE FIFTEEN)} = (@loadavg[0,1,2]);

Replies are listed 'Best First'.
Re^3: A hash question
by salva (Canon) on Dec 19, 2005 at 15:02 UTC
    Both ways are valid. The assignment operator silently ignores the extra values.
      Hm, cool. Thanks for help!

      Cheers!