Re: Verify a url form a perl script

From: Paul Lalli (mritty_at_gmail.com)
Date: 10/26/04


Date: Tue, 26 Oct 2004 18:27:43 GMT


"joe" <joez3@yahoo.com> wrote in message
news:5619c20c.0410261020.5616aa70@posting.google.com...
> I have been asked to write a perl script that will deploy a web page
> to one of our servers, I was able to do this. But now I want to be
> able to make sure that web page comes up and that we can navagate
> around the pages. Is there some built in functions that will let me do
> this? Can someone point me in the right direction to get started.

A pointer in the right direction: perldoc LWP::Simple

This is the module that lets you write very simple HTTP clients. Use it
to fetch a supplied URL, and then peruse the returned document (perhaps
with HTML::Parser) to verify that it contains what you think it
contains.

Paul Lalli



Relevant Pages

  • Re: Verify a url form a perl script
    ... joe wrote: ... > I have been asked to write a perl script that will deploy a web page ... > to one of our servers, I was able to do this. ... -- Douglas Hunter ...
    (comp.lang.perl.misc)
  • Re: Verify a url form a perl script
    ... > joe wrote: ... >> I have been asked to write a perl script that will deploy a web page ... >> to one of our servers, I was able to do this. ... am not sure how to install it on my system. ...
    (comp.lang.perl.misc)
  • Re: expect -- outputing data question/help
    ... of our servers. ... I open an ouput file in my PERL script. ... that that sort of localization should be some- ...
    (comp.lang.tcl)
  • Re: Anyone done the SBS Migration - would be interested in starting a thread to discuss
    ... in the Joe Ruskeys of the world, all of those guys who can really accomplish ... moved across theCat5 cabling and messed up three of the servers. ... The school bought the three servers and since they had a week for Christmas ... I knew that with the size of the network, ...
    (microsoft.public.windows.server.sbs)
  • Re: Exchange SMTP
    ... Thanks for the backup, Joe. ... that's some pretty lame outsourced email service (that ... Well, some servers just don't...they OUGHT to, but don't. ... I'd choose the POP Connector. ...
    (microsoft.public.windows.server.sbs)