in reply to Can i call a handmade perl module within a php file?
You could use Server Side Includes, they seem like a far better solution than any shell from php based approach. http://en.wikipedia.org/wiki/Server_Side_Includes