in reply to A split ing headache

Try that with:
$line = join "|", split /:/, $string, $count;
and you will be able to see what was split and joined. Then compare with what it says in split.

When I do it it works just like the big old book says.

BTW you might find the following string more instructive than your current one:

$string = 'a:b:c:::';