Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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?


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
    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?

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-04-18 20:33 GMT
Find Nodes?
    Voting Booth?

    No recent polls found