$LOGFILE = @ARGS; open(LOGFILE) or die("Could not open log file."); foreach $line () { #This is where I'm lost, I don't know where to beging on chomping all this data. }