Been a while since I posted this message, at the time, I had just come acrross apache/ perl/ cgi.
It turned out that the module did not have the correct permissions.
So I am now able to use modules with apache.
I have also recently read a bit about perl module mechanics.
So I am a little wiser now.
Mabey next time my question will be a little more intelligent :)
Perhaps I will write it in perl...