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
>   attribute or FALSE otherwise.

That's needed so the Driver.xst code knows if it should
then call SUPER::STORE.

> Does the same rule apply to STORE()? If so, where
> is the returned value used?

The only way for an application to get the return value is by calling
STORE explicitly. I guess that might be useful in some situations.

Tim.

Reply via email to