Re: DBI::DBD: STORE

2003-10-30 Thread Tim Bunce
Thanks Steffen. Tim. On Wed, Oct 29, 2003 at 09:19:44AM +0100, Steffen Goeldner wrote: > Tim Bunce wrote: > > > > On Mon, Oct 27, 2003 at 04:50:18PM +0100, Steffen Goeldner wrote: > > > > [...] > > > > > > Three cases cross my mind: > > > > > > 1) Return nothing (or an arbitrary value), i.e. th

Re: DBI::DBD: STORE

2003-10-29 Thread Steffen Goeldner
Tim Bunce wrote: > > On Mon, Oct 27, 2003 at 04:50:18PM +0100, Steffen Goeldner wrote: > > [...] > > > > Three cases cross my mind: > > > > 1) Return nothing (or an arbitrary value), i.e. the caller shouldn't > > use that value. > > > > 2) Return a boolean value, indicating success or failur

Re: DBI::DBD: STORE

2003-10-27 Thread Tim Bunce
On Mon, Oct 27, 2003 at 04:50:18PM +0100, Steffen Goeldner wrote: > Tim Bunce wrote: > > > > On Fri, Oct 24, 2003 at 11:00:55AM +0200, Steffen Goeldner wrote: > > > Is there any value in returning a value (pun intended) > > > from STORE? E.g.: > > > > > > sub STORE { > > > ... > > > ret

Re: DBI::DBD: STORE

2003-10-27 Thread Steffen Goeldner
Tim Bunce wrote: > > On Fri, Oct 24, 2003 at 11:00:55AM +0200, Steffen Goeldner wrote: > > Is there any value in returning a value (pun intended) > > from STORE? E.g.: > > > > sub STORE { > > ... > > return 1; > > > > For dbd_db_STORE_attrib(), DBI::DBD states: > > > > The return valu

Re: DBI::DBD: STORE

2003-10-24 Thread Tim Bunce
On Fri, Oct 24, 2003 at 11:00:55AM +0200, Steffen Goeldner wrote: > Is there any value in returning a value (pun intended) > from STORE? E.g.: > > sub STORE { > ... > return 1; > > For dbd_db_STORE_attrib(), DBI::DBD states: > > The return value is TRUE if you have handled the > a

Re: DBI::DBD: STORE

2003-10-24 Thread Steffen Goeldner
H.Merijn Brand wrote: > > On Fri 24 Oct 2003 11:00, Steffen Goeldner <[EMAIL PROTECTED]> wrote: > > Is there any value in returning a value (pun intended) > > from STORE? E.g.: > > > > sub STORE { > > ... > > return 1; > > > > For dbd_db_STORE_attrib(), DBI::DBD states: > > > > The re

Re: DBI::DBD: STORE

2003-10-24 Thread H.Merijn Brand
On Fri 24 Oct 2003 11:00, Steffen Goeldner <[EMAIL PROTECTED]> wrote: > Is there any value in returning a value (pun intended) > from STORE? E.g.: > > sub STORE { > ... > return 1; > > For dbd_db_STORE_attrib(), DBI::DBD states: > > The return value is TRUE if you have handled the >

DBI::DBD: STORE

2003-10-24 Thread Steffen Goeldner
Is there any value in returning a value (pun intended) from STORE? E.g.: sub STORE { ... return 1; For dbd_db_STORE_attrib(), DBI::DBD states: The return value is TRUE if you have handled the attribute or FALSE otherwise. Does the same rule apply to STORE()? If so, where is the r