Discipulus has asked for the wisdom of the Perl Monks concerning the following question:
Then you can use backspace to cancel, arrows to move, etc, etc..edit somekey>This is the editable string: change it if you want.
in conclusion:perl -e "use Term::ReadLine; $term = Term::ReadLine->new('name'); + print $term->ReadLine" #in both installation it returns: Term::ReadLine::Perl # #but when i tried: # perl -e "use Term::ReadLine::Perl" #in one installation (strawberry) i got: Can't locate object method "Features" via package "Term::ReadLine::Stu +b" at C:/Perl_Flash/pperl2/pperl/perl/site/lib/Term/ReadLine/Perl.pm +line 101. Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: emulate the Term::ReadLine's two arguments form
by LanX (Saint) on Feb 17, 2012 at 14:08 UTC | |
by Khen1950fx (Canon) on Feb 17, 2012 at 16:13 UTC | |
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 |