in reply to Hash table key names with a minus

barewords are not allowed. use quotes  $run{POWER-NODE} = "yes" or $run{'POWER-NODE'} = "yes"

~Particle ;Þ

Replies are listed 'Best First'.
Re: Re: Hash table key names with a
by RMGir (Prior) on Mar 24, 2002 at 16:38 UTC
    Normally, the {} would act as an implicit quote around your key.

    But POWER-MODE looks like a subtraction to the parser, so that messes things up. You'll have to quote it.
    --
    Mike