On Thu, Oct 17, 2002 at 01:56:22PM +0100, Kevin Gurney said: > P.S If anyone feels so inclined, a better way of matching the numbers would > be most appreciated as I'm simply picking > everything in a 12 char range each time.
Why not split on whitespace? $line =~ s/\*\* TOTALS\s+//; my @vals = split /\s+/, $line; Simon