On 10/20/07, newBee <[EMAIL PROTECTED]> wrote:
> Can someone tell me how to allow user to keep enter data until the
> user hit certain key such as /q/i
That is, if the user types ABCDEQ, your code should contnue with the
value "ABCDE"?
You might be able to do that on some systems, if you use very
low-level IO operations. Normally, Perl deals with input at a much
higher level.
Are you looking for Term::ReadKey? That's pretty low-level.
http://search.cpan.org/dist/TermReadKey/
There are other modules on CPAN that might help, if that one doesn't
work for you. Good luck with it!
--Tom Phoenix
Stonehenge Perl Training
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/