in reply to Re: regular expressions query
in thread regular expressions query

This will not get rid of the leading whitespace on those lines (it returns a null field as the first field). But if you use ' ' instead it should work fine. That is:
my ($meanH1,$meanH2) = split ' ';
as per the documentation:

A split on /\s+/ is like a split(' ') except that any leading whitespace produces a null first field.

-enlil