Although I'm shooting in the dark here (it would help to know the version of DBIx::Dump that you have, and the values of the CGI parameters), it looks like your variable
Is probably not one of the recognized formats that DBIx::Dump will print in. Perhaps you can hard-code it to 'excel' or 'csv' and see if that solves the problem.
P00py, looks like mreece beat me to this one. =) Well, it wouldn't hurt if the author of DBIx::Dump did some validation on their input. The 'problem line' 149 in Dump.pm is:
So it's just attempting to exec a function associated with the 'format' query you provide, but it doesn't check to see if it's a valid function first. The CPAN docs don't say what functions are valid, but on lines 137-141 of Dump.pm you can see:
my %formats = (
'excel' => $excel,
'csv' => $csv,
'iQuery' => $iQuery
Which shows you the valid strings it will take as formats.