Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Writing Interrupt proram in PERL

by venkatesan_G02 (Sexton)
on Oct 01, 2009 at 10:19 UTC ( [id://798588]=perlquestion: print w/replies, xml ) Need Help??

venkatesan_G02 has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,

I am writing a PERL program in which the program has to wait for a user input. But i have a requirement that the program has to execute certain parts of the code until the user keys in an input.

Right now, my program just waits for the input but not executing the code until an input is provided

So, could anyone throw some light on how to solve this issue? Any reference to any PERL Module?

Thanks!!!

Replies are listed 'Best First'.
Re: Writing Interrupt proram in PERL
by Joost (Canon) on Oct 01, 2009 at 10:30 UTC
Re: Writing Interrupt proram in PERL
by venkatesan_G02 (Sexton) on Oct 05, 2009 at 11:12 UTC
    Hi,
    Sorry for late reply

    I tried the following code but it's throwing an error:
    #!C:/Perl/bin/perl.exe use strict; use warnings; use POE; # The base system. use POE::Wheel::ReadLine; # For reading lines from the console.

    Error: MSWin32 cannot run POE::Wheel::ReadLine at C:/Perl/site/lib/POE/Wheel/ReadLine.p m line 17.

    Does this error mean i cannot use POE under windows environment?
        So, is there any work-around for using POE::Wheel::ReadLine under windows environment?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://798588]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2024-04-23 06:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found