Try using
LWP::Debug. Example
C:\>lwp-request -x http://search.cpan.org/
LWP::UserAgent::new: ()
LWP::UserAgent::request: ()
LWP::UserAgent::send_request: GET http://search.cpan.org/
LWP::UserAgent::_need_proxy: Not proxied
LWP::Protocol::http::request: ()
LWP::Protocol::collect: read 689 bytes
LWP::Protocol::collect: read 1696 bytes
LWP::Protocol::collect: read 1231 bytes
LWP::UserAgent::request: Simple response: OK
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
****SNIP****
C:\>
lwp-request
MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!" |
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README). |
** The third rule of perl club is a statement of fact: pod is sexy. |