[[email protected]: Event.pm usage]
[email protected] (Joshua N Pritikin) Wed, 12 Oct 2005 14:45:53 +0530
| Newsgroups | perl.loop |
|---|---|
| Message-ID | <[email protected]> |
--qVyHzDF4yf4A8jkR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Does anybody have any suggestions beside threads? ----- Forwarded message from Eric Lenio <[email protected]> ----- =46rom: 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 w= ith 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 han= dle 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. --qVyHzDF4yf4A8jkR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFDTNRIqcqnlKSmC70RAhtTAJ9JX4vdjN4G/5KuuG7Ob04uKQRLBgCgum7a syqGTVTj3huMrTgRHKtO65s= =9y3N -----END PGP SIGNATURE----- --qVyHzDF4yf4A8jkR--