[MacPerl-AnyPerl] DBI under the MAC

2011-12-09 Thread Sean Murphy
Hi All. I am having some strange behaviours. I have created a simple script to insert data into a SQLite database. When I use the prepare are statement. The DBI driver complains that there is no such table. The code looks like thus: #!/usr/bin/perl # Combining credit and savings sheets # to

[MacPerl-AnyPerl] Re: macperl-anyperl Digest 9 Dec 2011 11:43:02 -0000 Issue 112

2011-12-09 Thread Joel Rees
From: Sean Murphy Date: 平成23年12月9日 20:42:49:JST To: macperl-anyperl@perl.org Subject: DBI under the MAC Hi All. I am having some strange behaviours. I have created a simple script to insert data into a SQLite database. When I use the prepare are statement. The DBI driver complains that th

Re: [MacPerl-AnyPerl] DBI under the MAC

2011-12-09 Thread Keary Suska
On Dec 9, 2011, at 4:42 AM, Sean Murphy wrote: > my $sth2 = $dbh->prepare("insert into trans (accounts, transaction_date, > description, amount, amount_type, transaction_type, serial, category_id) > values (?, ?, ?, ?, ?, ?, ?, ?);") > or die("Cannot prepare: " . DBI::errstr() );

Re: [MacPerl-AnyPerl] Re: macperl-anyperl Digest 9 Dec 2011 11:43:02 -0000 Issue 112

2011-12-09 Thread Sean Murphy
Hi Joel Thanks for the heads up. The description of the list didn't indicate it was for the PowerPC version of Perl. I will move to the other list you indicated. Cheers Sean On 09/12/2011, at 11:26 PM, Joel Rees wrote: > Joel

Re: [MacPerl-AnyPerl] DBI under the MAC

2011-12-09 Thread Sean Murphy
Hi Keary Ouch, it was right in front of my nose and I didn't see it. Thanks. On 10/12/2011, at 2:53 AM, Keary Suska wrote: > On Dec 9, 2011, at 4:42 AM, Sean Murphy wrote: > >> my $sth2 = $dbh->prepare("insert into trans (accounts, transaction_date, >> description, amount, amount_type, trans