in reply to Re^2: Run Perl from within Perl
in thread Run Perl from within Perl

You might want to check out HTTP::Server::Simple, Net::HTTPServer and HTTP::Daemon. There are more http server implementations on the CPAN, but I can't find them right now.