in reply to how to get dynamic html pages??
Not sure what you mean by that Dear Monk. The technology used to generate a web page bears no relevance to the ability of a browser or browser-alike to retrieve it.
The simplest example I can think of to accomplish this comes right from the man page of LWP::UserAgent:
require LWP::UserAgent; my $ua = LWP::UserAgent->new; $ua->timeout(10); $ua->env_proxy; my $response = $ua->get(’http://some.url.com/’); if ($response->is_success) { print $response->content; # or whatever } else { die $response->status_line; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: how to get dynamic html pages??
by monkster (Sexton) on Jan 25, 2008 at 08:34 UTC | |
by blue_cowdawg (Monsignor) on Jan 25, 2008 at 13:42 UTC |