Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: reading a log file and sorting by last name

by Hue-Bond (Priest)
on Oct 09, 2006 at 16:01 UTC ( [id://577213]=note: print w/replies, xml ) Need Help??


in reply to Re: reading a log file and sorting by last name
in thread reading a log file and sorting by last name

my( $fname, $lname, $grades ) = /^(.*?) (\S*?) ([ 0-9]*)$/;

Also:

my ($fname, $lname, $grades) = split /\s+/, $_, 3;

--
David Serrano

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://577213]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-25 09:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found