Re: REG: dbi::errstr error.

2006-01-27 Thread Jonathan Leffler
On 1/27/06, Dilly raja <[EMAIL PROTECTED]> wrote: > > I have a cgi script adduser.cgi which collects the data from the user > through adduser.html. when i execute this script i encountered the error > as > shown below. > > Name "dbi::errstr" used only once: possible typo at adduser.cgi line 18.

Re: Future versions of DBI to require perl >= 5.8

2006-01-27 Thread Ron Savage
On Fri, 27 Jan 2006 18:36:55 -0800, Darren Duncan wrote: Hi Darren > Yes, and people could say that about other specific versions too. Fair enough. > I also don't see why the Red Hat supplied distro can't be more up > to date; in fact, I would expect any ongoing contract with them to > include

Re: dbi::errstr error.

2006-01-27 Thread Ron Savage
On Fri, 27 Jan 2006 10:22:21 -0500, John Scoles wrote: Hi John > $sth->execute()||die "Unable to insert the value: $dbi::errstr\n"; As Andy has pointed out, Perl is a case-sensitive language. What follows is really off topic... > I took the liberty of rewriting part of your code a little so it

Re: Future versions of DBI to require perl >= 5.8

2006-01-27 Thread Matthew Persico
On 1/27/06, Darren Duncan <[EMAIL PROTECTED]> wrote: [snip] > Even if you can't move, its not like 5.8 is becoming a hard > dependency, rather just a soft dependency, as I recall. The minute Tim writes a piece of code with a construct that is new to 5.8 because a) its cool b) he can c) its proba

Re: Future versions of DBI to require perl >= 5.8

2006-01-27 Thread Darren Duncan
At 10:51 AM +1100 1/28/06, Ron Savage wrote: On Fri, 27 Jan 2006 14:20:31 -0800, Darren Duncan wrote: > Moreover, I suggest you go a bit further and say that 5.8.1/5.008001 is the minimum version, rather than 5.8.0; no one should actually be using 5.8.0 given all the bugs it has, and the 5.8

Re: Statement handle side effects of swap_inner_handle?

2006-01-27 Thread Steven Lembark
Artistic Opinion: Would reconnecting the damaged handle and keep it usable with an appropriate error then loosing the transaction (and letting the caller deal with it as an exception) seem reasonable? Yes. That would possibly suffice is all code gets its statement handles via prepare_cached().

Re: Statement handle side effects of swap_inner_handle?

2006-01-27 Thread Steven Lembark
> Umm, bind_columns is probably do-able if the DBI gave you a way to > access the current row array. Then you could just bind the new columns > to the old ones. Any real odds? Odds? "Probably do-able" Q1: How likely? Q2: Any timeframe? -- Steven Lembark

Re: Future versions of DBI to require perl >= 5.8

2006-01-27 Thread Ron Savage
On Fri, 27 Jan 2006 14:20:31 -0800, Darren Duncan wrote: Hi Darren > Moreover, I suggest you go a bit further and say that > 5.8.1/5.008001 is the minimum version, rather than 5.8.0; no one > should actually be using 5.8.0 given all the bugs it has, and the > 5.8.1 delta fixed more than any subse

Re: Future versions of DBI to require perl >= 5.8

2006-01-27 Thread Tim Bunce
On Fri, Jan 27, 2006 at 07:05:15AM -0500, Jeff Urlwin wrote: > Tim, > > Is this now going to be rescinded, in light of the rest of the thread > with Gisle? Possibly. Though I've had emails from people thanking me for saying this since, they say, that's the only way their employers will be pushed

Re: Future versions of DBI to require perl >= 5.8

2006-01-27 Thread Darren Duncan
At 12:03 PM + 1/25/06, Tim Bunce wrote: FYI I'm planning on making the next release (1.51) be the last that officially supports perl 5.6. This is partly to make it easier to implement changes in future releases that improve performance with threaded perls. This will benefit ActiveState perl

RE: dbi::errstr error.

2006-01-27 Thread Andy Hassall
> -Original Message- > From: Dilly raja [mailto:[EMAIL PROTECTED] > > I have a cgi script adduser.cgi which collects the data from the user > through adduser.html. when i execute this script i > encountered the error as > shown below. > > Name "dbi::errstr" used only once: possible typo

Re: dbi::errstr error.

2006-01-27 Thread John Scoles
try $sth->execute() or die "Unable to insert the value: $dbi::errstr\n"; rather than $sth->execute()||die "Unable to insert the value: $dbi::errstr\n"; I took the liberty of rewriting part of your code a little so it is more readable and it is using params. This is a much more secure way to do

RE: Future versions of DBI to require perl >= 5.8

2006-01-27 Thread Jeff Urlwin
Tim, Is this now going to be rescinded, in light of the rest of the thread with Gisle? Regards, JEff -Original Message- From: Tim Bunce [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 25, 2006 7:03 AM To: dbi-users@perl.org Subject: Future versions of DBI to require perl >= 5.8 FYI

REG: dbi::errstr error.

2006-01-27 Thread Dilly raja
I have a cgi script adduser.cgi which collects the data from the user through adduser.html. when i execute this script i encountered the error as shown below. Name "dbi::errstr" used only once: possible typo at adduser.cgi line 18. the complete script of the adduser.cgi is shown below. Since i a