Thanks for the response! The problem I have with this solution is I need to
send both a username and a password (i.e. two values) per email. Can I add
another value to the hash like this: [EMAIL PROTECTED] =>
'abc123','321cba',?


my %users = (
    '[EMAIL PROTECTED]' => [$johnuser, $johnpass],
    '[EMAIL PROTECTED]' => [$janeuser, $janepass],
);

Then the user is avauilabel as $users{$email}->[0] and the pass as $users{$email}->[1]

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to