On Thu, 9 Aug 2001, Giotto De Filippi wrote:

> Can I do SQL background queries with DBI?
>
> like instead of doing ->prepare, ->execute and ->fetchrow_hashref something
> like ->is_ready, to do before fetchrow, so for example I could do other
> things with my perl program while it's waiting for the sql databsae to
> return the result.

This won't help if you're truly averse to forking but...

Check out Concurrent::Object, which is a very cool module that will help
you transparently background and foreground operations using forking (but
you don't have to worry about handling the forking yourself).


-dave

/*==================
www.urth.org
We await the New Sun
==================*/

Reply via email to