in reply to y/n input in a captive interface

You could always use the source of Term::Readkey as a reference to build what you want in whatever way does meet your criteria - assuming that's possible of course ;)

-M

Free your mind

Replies are listed 'Best First'.
Re^2: y/n input in a captive interface
by apotheon (Deacon) on Feb 08, 2007 at 18:00 UTC

    I'm sure it does, since Term::ReadKey (now that I've read more about it) seems to only use modules in the core Perl distribution and actually seems to do what I want. I just need to get over the fact that it's not nearly as easy to accomplish as it seems like it should be. I guess I'm just mystified at the fact that Perl can handle automatic translation of newline characters and (back)slashes between systems invisibly, but can't do the same for terminal interactions like this.

    print substr("Just another Perl hacker", 0, -2);
    - apotheon
    CopyWrite Chad Perrin