
May 23rd, 2008, 10:42 AM
|
 |
Java Junkie
|
|
Join Date: Feb 2004
Location: Mobile, Alabama
|
|
Quote: | Originally Posted by akillas I am a newbie to perl, actually i just figured out it existed a couple of days ago, i have to parse a log file... i used chomp to split into 3 fields, i need to count the number of GETS
ix-dc9-19.ix.netcom.com - - [04/Sep/1995:00:00:28 -0400] "GET /html/cgi.html HTTP/1.0" 200 2217
I split it into 3 fields the field that i want is the 3 one the starts with "GET, but i dont know how to count the GET part with using ./ and what have you, thanks in advance for the help |
Could you explain a little more about what you are trying to do?
Are you just counting likes with GET on it, or do you want to do something with the GET information on each line?
|