in reply to File editing problem

Don't you confuse @users and $users? And what is a purpose of typing $field{'$users'};? Single quotes prevent $users variable to be interpolated...

--dda

Replies are listed 'Best First'.
Re^2: File editing problem
by Aristotle (Chancellor) on Jun 16, 2002 at 19:49 UTC
    Yes they do. The code is deleting the hash value stored under the key called (literally) $users, rather than the hash value stored under the key found in the variable $users. That's one reason the code won't work..

    Makeshifts last the longest.