in reply to Re: emulate the Term::ReadLine's two arguments form
in thread emulate the Term::ReadLine's two arguments form
#!/usr/bin/perl -l use strict; use warnings; use Term::ReadLine; my $term = new Term::ReadLine "Default Input"; my $input = $term->readline("Enter some text: ", "What do you want to +say?"); print "You entered: $input";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: emulate the Term::ReadLine's two arguments form
by Discipulus (Canon) on Feb 17, 2012 at 18:20 UTC | |
by Khen1950fx (Canon) on Feb 17, 2012 at 18:57 UTC | |
by Discipulus (Canon) on Feb 17, 2012 at 19:20 UTC | |
by LanX (Saint) on Feb 17, 2012 at 18:23 UTC |