Mark Blackman wrote: > In the Appender::DBI man page, we see the following sentence, > "If there are more '?' placeholders than there are values in > your message, it will use undef for the rest." However, I was > unable to observe this behaviour with my configuration.
Odd, it looks like it's working to me. What was the behavior you *did* obverve? Can you send a test case to demonstrate the problem? Here's the part of the existing code that handles the case, it looks ok to me: #here handle cases where we ran out of message bits #before we ran out of bind_value_layouts, just keep going }elsif (ref $p->{message} eq 'ARRAY'){ $msg = undef; $p->{message} = undef; I just added test cases to the unit test to demonstrate the behavior and it looks ok. Could you download this guy and see if it runs for you? (You'll need to 'mkdir -p t/tmp/') http://log4perl.cvs.sourceforge.net/*checkout*/log4perl/Log-Log4perl/t/034DBI.t?revision=1.15&content-type=text%2Fplain ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ log4perl-devel mailing list log4perl-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/log4perl-devel