Skip Menu |
 

This queue is for tickets about the libwww-perl CPAN distribution.

Report information
The Basics
Id: 75611
Status: resolved
Priority: 0/
Queue: libwww-perl

People
Owner: Nobody in particular
Requestors: xenoterracide [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Feature request PERL_LWP_DEBUG
Date: Wed, 7 Mar 2012 16:08:30 -0600
To: bugs-libwww-perl [...] rt.cpan.org
From: Caleb Cushing <xenoterracide [...] gmail.com>
Download (untitled) / with headers
text/plain 346b
The thing I like the most about Mojo::UserAgent over LWP is the MOJO_USERAGENT_DEBUG environtment variable which basically spits out ->as_string (or whatever ) to ... I think STDERR but I'm not sure. Would a patch be accepted for this feature? if so could you point me as to the right place to start? -- Caleb Cushing http://xenoterracide.com
Download (untitled) / with headers
text/plain 561b
On Wed Mar 07 17:08:40 2012, XENO wrote: Show quoted text
> The thing I like the most about Mojo::UserAgent over LWP is the > MOJO_USERAGENT_DEBUG environtment variable which basically spits out > ->as_string (or whatever ) to ... I think STDERR but I'm not sure. > Would a patch be accepted for this feature? if so could you point me > as to the right place to start? >
This can now be done by inserting a "use LWP::ConsoleLogger::Everywhere ()" appropriately into your code. It's not quite as easy as using an environment variable, but it will get you to the same place.
Download (untitled) / with headers
text/plain 628b
On Wed Mar 01 22:04:11 2017, OALDERS wrote: Show quoted text
> On Wed Mar 07 17:08:40 2012, XENO wrote:
> > The thing I like the most about Mojo::UserAgent over LWP is the > > MOJO_USERAGENT_DEBUG environtment variable which basically spits out > > ->as_string (or whatever ) to ... I think STDERR but I'm not sure. > > Would a patch be accepted for this feature? if so could you point me > > as to the right place to start? > >
> > This can now be done by inserting a "use > LWP::ConsoleLogger::Everywhere ()" appropriately into your code. It's > not quite as easy as using an environment variable, but it will get > you to the same place.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.