Does anybody have any suggestions beside threads?

----- Forwarded message from Eric Lenio <[EMAIL PROTECTED]> -----

From: Eric Lenio <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Event.pm usage

Hi Joshua,

I'm not new to Perl but I am to Event.pm.  I read the tutorial that comes with
Event.pm but I'm still a little unclear if it can fit my need.

I'm writing a Perl app which heavily uses DBI.pm.  What I want to do is handle
other arbitrary events (mainly user keyboard input) while a time-consuming
piece of SQL is running.  I'd rather stay away from forking/threading (DBI
doesn't really support threads anyway).

At first I thought I could watch a variable until it received the result of the
SQL return code, but upon further thinking I don't think I can concurrently
process user keystrokes... am I correct?  Any suggestions?

thanks,
Eric.

Attachment: signature.asc
Description: Digital signature

Reply via email to