[Dbix-class] mysql insert seems wrong

Johannes Rumpf jrumpf at web-dreamer.de
Fri Feb 2 12:31:47 GMT 2007


Oh, thats cool...

Thanks, now it works.

Johannes

>>
>> @columns = qw/ interpret id jahr titel /;
>>
>> sub get_columns(){
>> return @columns;
>> }
> 
> BOOM
> 
> Don't override get_columns, it's a ::Row method that insert uses.
> 
> There's already an ->columns method that'll do what you want anyway.




More information about the Dbix-class mailing list