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"
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.