Hi, I am still an novice Perl programmer, but I am a programmer.

Here's my dilema: I need to be able to take someone else's website and read in the site as HTML. My program will then parse out every linkable item for other uses. The second part I should be able to write, but I can't seem to find a way/module that works for Perl that merely reads a webpage, and writes the HTML file to my own server.

Am sure the method is out there, can someone please help me?

Many thanks ahead,

Sergio
p.s. I am not a student looking to get my homework done, I promise.

Recommended Answers

All 2 Replies

start with LWP or LWP::Simple as for the links, search CPAN for linkextractor and you should find the module.

THank you

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.