nysus has asked for the wisdom of the Perl Monks concerning the following question:
According to the LWP::Debug manpage, "The conns() function is used to show data being transferred over the connections. This may generate considerable output." But for me, it generates zero output. It does produce output if I export the +debug and +trace functions. But that's not the data I'm after. I want the data that's supposedly output by the conns() function. Anyone out there familiar with this module and can see what I'm doing wrong?#!/usr/bin/perl -w use strict; use LWP; use LWP::Debug qw(+conns); my $agent = LWP::UserAgent->new(); my $url = 'http://www.perlmonks.org'; my $response = $agent->get($url);
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon";
$nysus = $PM . $MCF;
Click here if you love Perl Monks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using LWP::Debug conns() function
by PodMaster (Abbot) on Nov 19, 2005 at 15:59 UTC | |
by nysus (Parson) on Nov 19, 2005 at 21:29 UTC | |
by nysus (Parson) on Nov 19, 2005 at 21:39 UTC |