Yes /$num should be \$num - so I changed it.
That solved the problem.
I've only just managed to get my hands on a copy of the Camel and I'm trying to improve my understanding of Perl by reading/applying it. Could using '/' instead of '\' have been interpreted as a '"'?
By the way, point taken about identifying the lines in question.
Thanks for your help.
| [reply] |