![]() |
|
Don't ask to ask, just ask | |
PerlMonks |
Re: DBIx::Dump errorby saintly (Scribe) |
on Mar 26, 2007 at 22:56 UTC ( #606679=note: print w/replies, xml ) | Need Help?? |
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 $format_pass 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: Which shows you the valid strings it will take as formats.
In Section
Seekers of Perl Wisdom
|
|