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
In reply to Using LWP::Debug conns() function by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |