in reply to Pattern Matching Question
open PROFILE, "< profile/file/name" or die "can't open profile fil +e: $!"; my %finishedusers; while (<PROFILE>) { my @pieces = split /:/; next unless @pieces > 8; # Only match lines containing >8 ":"'s $finishedusers{$pieces[0]} = $pieces[7]; } close PROFILE;
...each is assigned his own private delusion but he cannot see the baggage on his own back.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Pattern Matching Question
by gaal (Parson) on Nov 30, 2004 at 06:32 UTC | |
by NetWallah (Canon) on Nov 30, 2004 at 07:03 UTC | |
by gaal (Parson) on Nov 30, 2004 at 07:29 UTC |