http://www.perlmonks.org?node_id=169914

Beau Landeaux has asked for the wisdom of the Perl Monks concerning the following question:

My apologies if this question reeks of ignorance (I have intermediate Perl experience, zero web-application experience, but a great deal of experience with ignorance), but here is my task: from server-A, test the availability of a given web application on server-B. The URL that would be entered by the browser is as follows: "https://bogus.domain.com/rwi.do". All I need do at this point is ensure we receive a 200 status. We have some completely undocumented legacy Perl code that performs a login- or lookup-test via, LWP::UserAgent, HTTP::Status, HTTP::Request, and HTTP::Response, however, reverse engineering this has not been easy and my thought is, there's got'a be a better way. Any help is greatly appreciated. Beau