Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Why does my insert work with DBI but fails with DBIx::Simple?by tobyink (Canon) |
on Feb 18, 2013 at 10:14 UTC ( [id://1019314]=note: print w/replies, xml ) | Need Help?? |
I guess that DBIx::Simple takes care of quoting issues, so you should not be adding single quotes to your values. The other main difference that I can see is that you're not populating the final int in the broken script.
package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name
In Section
Seekers of Perl Wisdom
|
|