> my $got = get($url);
> if (not defined $got) {
> # Handle error somehow, perhaps by dying
> }
> do_something_with($got);my $mech = WWW::Mechanize->new( autocheck=>1 ); $mech->get( $url ); $got = $mech->content; Mechanize is a wrapper around LWP::UserAgent. The autocheck=>1 tells Mech to die on any error. xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
