> on 6/27/02 4:47 AM, [EMAIL PROTECTED] purportedly said:
> 
> > I keep hearing from various sources that perl is a great tool for
> > testing web sites.
> > 
> > I've been looking around for a script that would take a list of urls and
> > automatically run through them, digging through frames and client-side
> > redirects, reporting errors it finds as it goes. I guess my imagination
> > is getting weak, because I keep turning up dead ends at google.
> > 
> > Anybody here seen such a beast, have any recommendations?
> > 
> > One idea that would really be neat would be a script that uses apple
> > events to push a browser on a Mac to show the pages as it goes.
> 
> You are looking for the LWP bundle. It comes with MacPerl 5.6.

Actually, I have been building some stuff with LWP this week and I keep
thinking I must be re-inventing wheels.

> You can check
> out http://www.perldoc.com for docs or use shuck. You will, however, have to
> do client side redirects in your code (LWP doesn't do meta-refresh and
> doesn't understand JavaScript). You will also have to handle client side
> image maps manually as well. Check out lwpcook.pod for examples.

Is there something in LWP that will automatically request images and
descend through frames?

How about something to parse URLs (URIs?) and split off the protocol,
domain, intermediate path, document name, and query sections? It seems
like I've seen that somewhere, but I don't remember where. I didn't find
it scanning through the CGI module just now, either.

I've written some crude parsing, just ripping off slashes and stuff, but
I'm completely ignoring the RFCs.

Okay, I see when I look at the FAQ that Tom Christiansen seems to have
written a package called xurl. I'll check that.

Is LWP distributed with Mac OS X 10.1.x? It didn't seem to be in 10.0.3.
10.0.3's Perl 5.6.0 had some problems with the IO package, as well.

Thanks, Keary.

-- 
Joel Rees <[EMAIL PROTECTED]>

Reply via email to