Welcome to the Monastery | |
PerlMonks |
Re^2: reading a log file and sorting by last nameby Hue-Bond (Priest) |
on Oct 09, 2006 at 16:01 UTC ( [id://577213]=note: print w/replies, xml ) | Need Help?? |
my( $fname, $lname, $grades ) = /^(.*?) (\S*?) ([ 0-9]*)$/; Also: my ($fname, $lname, $grades) = split /\s+/, $_, 3;--
In Section
Seekers of Perl Wisdom
|
|