in reply to Calling a method inside CGI script using system calls

I would check some of the following: