Is there any way in which i can embed perl code in php? How do i convert perl code to code in php? My code basically uses sockets can anybody help me out?
No, you can't. However PHP can do most anything you need with sockets. See http://www.php.net/manual/en/ref.sockets.php for further detail
Er, using apache includes, can't you parse a perl file and include that dynamicly within another file which may have php in it?
That seems like a sure way to design a POS app that will break someday and be unfixable to the next person looking at it.