>>>>> "Michael" == Michael Fowler <[EMAIL PROTECTED]> writes:

Michael> In that snippet you're accessing the hash %_, when you should be accessing
Michael> the hash reference in $_, like so:

Michael>     for ($PASS{$PASSWD_NAME}) {
Michael>         $new_user = $$_{user};
Michael>         $new_pass = $$_{password};
Michael>         $new_fname = $$_{fname};
Michael>         $new_lname = $$_{lname};
Michael>     }

Or, to make it very clear that you're dereferencing:

        for ($PASS{$PASSWD_NAME}) {
                $new_user = $_->{user};
                etc
        }

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to