Hey thanks! Sorry for asking for help in an obviously basic area, but I'm brand spanking new to perl. Hmm..this will work, but what if I wanted to grab the number of matches (for performance tuning, stick lines that get more hits toward the top of the list)? I would assume I would need to split my array by spaces, and reference by $line but again the last $line that would hold 45454 matches for instance would be variable.