(assumes that only the third column in the data will contain whitespace)while(<DATA>){ chomp; my ($user, $email, $result) = split /\s+/, $_, 3; $hash{$user}{email} = $email; $hash{$user}{result} = $result; }
In reply to Re: HoH question
by McDarren
in thread HoH question
by cajun
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |