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.