tie %hash, "DB_File", $user_db, O_RDWR; $hash{$email} = $user_data; untie %hash;