in reply to using Net::Telnet to test Apache

perhaps could you use the LWP module, to check if your server is all right...

http://search.cpan.org/search?mode=module&query=LWP

or

http://www.linpro.no/lwp/

HTH

James