in reply to split strangeness

The problem with this is that I seem to be getting an additional array field consisting of a single space

That is the effect of parens in a split re. Try this: my @array = split(/,\s*/, $string);

After Compline,
Zaxo