Yes thanks...

I want to capture the code of a webpage to a string so I can pick out the
stuff I want and put the code into another of my design.

I will try your suggestion
Is there another way to do this? with out the LWP::UserAgent????
I see you are using a get command.. ok I know about those....

to say it better I want to get the output / HTML code from another web
site...
the stuff between the <HEAD> to </BODY> commands... clearer?
many thanks.. I am real new to this...
I'll look up the perldoc stuff too.
Lou

> my $ua = LWP::UserAgent->new();
> my $response = $ua->get($host_port);

The perl code above is what I want ? yes?
Thanks
Lou

The code below just gets me the name of your home page as a string.....
correct?

> but were I to do something like say
> my $url = URI->new();
> $url->scheme('http');
> $url->host($host_port);
> $url->path('/drieux');
>
> my $response = $ua->get($url->as_string());
>
> would get you my 'home page' of that site.
>
> So it's rather important which part of that process
> you were trying to 'solve'.
>
> cf perldoc URI
> perldoc LWP::UserAgent
>
>
> ciao
> drieux
>
> ---
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to