Skip Menu |
 

This queue is for tickets about the DBI CPAN distribution.

Report information
The Basics
Id: 81576
Status: new
Priority: 0/
Queue: DBI

People
Owner: Nobody in particular
Requestors: DOHERTY [...] cpan.org
Cc:
AdminCc:

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



Subject: dbiprof: Can't set --number to "all"
Download (untitled) / with headers
text/plain 570b
When you try to set number to "all", which is supposed to show all results, instead of a finite number, GetOptions tells you that it expected a number, as required by the 'number=i' spec. mike@doherty:~ $ dbiprof --number=all Value "all" invalid for option number (number expected) You'll probably have to use your own sub to make the behaviour match the documentation. Or, use 0 to mean "all results." Note that you can't pass either 0 or all to DBI::ProfileData::report to get all the reports - you'll need to get the actual number via DBI::ProfileData::count.


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.