Ah-ha!! Thanks, that's most likely my problem, the "null values" are actually not nulls they are spaces, sometimes 1 but it could be up 10. Does this mean the piece of regex will not work?
Thanks again for the help I don't know how I would cope or avoid killing people without perlmonks.
Smaug