in reply to Problem with split

Use a a comma not a dot.

The dot is concatenating strings, you want to separate two arguments.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery