Skip Menu |

This queue is for tickets about the Net-Statsd CPAN distribution.

Report information
The Basics
Id: 74172
Status: resolved
Worked: 30 min
Priority: 0/
Queue: Net-Statsd

People
Owner: cosimo [...] cpan.org
Requestors: mellery [...] yahoo.com
Cc:
AdminCc:

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



Subject: timing method does not properly default the sample_rate value to 1
the timing method docs indicate the default value for sample_rate is 1, but the code never actually sets the default value, so you get lots of "use of uninitialized value" warnings if you don't pass sample_rate to timing().
Thanks Michael, I think I fixed this and just uploaded a 0.02 to CPAN. You can get it on github in the meantime. https://github.com/cosimo/perl5-net-statsd/tags Let me know how it goes. Thanks for the report. -- Cosimo