http://qs321.pair.com?node_id=345351


in reply to Parsing Log Files

Don't forget that the * is a special character in regexps. To match a literal *, you have to put a backslash before it.

Better yet, given the format of your lines, you could just use split() on each line:

my @bits = split(/\*/); push(@logg, $bits[0]);