Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re:Terminal. Update text while user types.

by kschwab (Vicar)
on Dec 20, 2016 at 17:16 UTC ( [id://1178228]=note: print w/replies, xml ) Need Help??


in reply to Terminal. Update text while user types.

You could try Term::Complete

#!/usr/bin/perl use Term::Complete; print "Type ap, then hit the <tab> key or <ctrl-d>\n"; my $foo=Complete('>',('application','apple','applicant')); print "You typed [$foo]\n";
You may need to play around with configuration to meet your requirements, but it's fairly easy to use.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-20 02:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found