-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anthony Ettinger Sent: Monday, May 01, 2006 5:02 PM To: Mr. Shawn H. Corey Cc: [email protected] Subject: Re: executing block on <STDIN>
On 5/1/06, Mr. Shawn H. Corey <[EMAIL PROTECTED]> wrote: > <snip> > I'm not trying to benchmark, just gather some real-world data in my tools. > > Basically, I set $start_time = time();, subtract out time waiting during > user input, and take the difference of $end_time = time(); > > Whether this is a good way of gather the data is beyond the question...I'm > curious if there's a way to trigger a pause/unpause routine automatically > from my library when <STDIN> is used. The Event module should be able to do what you want. It looks like it has a little bit of a learning curve, though. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>
