$ term ->readline( prompt )
term
prompt
Prompts for input line and gets the result. Removes trailing newline and returns undef at end-of-file.
undef
Copyright © 2001 O'Reilly & Associates. All rights reserved.