in reply to Assigning to a hash

If you're actually using x as a bareword in the assignment, that could be your problem.

You should probably use either:
$users{$columns[0]}='x';
or
$users{$columns[0]}=1;
(Unless I'm misunderstanding something.)

Impossible Robot

Replies are listed 'Best First'.
Re: Re: Assigning to a hash
by willa (Acolyte) on Dec 04, 2001 at 15:30 UTC
    Thanks. Works now!