Thank you all, I have realised what I did wrong.
I did not set the file to be executable (I would be dangerous if I had a brain...)
I have now set it and it works fine...
The CGI Help Guide nailed it as I remember seeing 644 when I uploaded the file...
Thank you Anonymous Monk and everyone else for your suggestions