in reply to Perl - webserver

It is very much not at all clear what you are doing, care to elaborate?

Are you really developing a webserver?
And a firewall?
And a php interpreter?
Good luck with that!