in reply to What editing mode am I in when interacting with a Perl script using OS X Terminal? Because the keyboard works differently to a normal shell.

Cody Fendant:

Typically a program has to provide any fancy editing features. As the ever-popular Anonymous Monk mentions, the package Term::Readline package can give you access to one of the line input libraries. If you get it set up with the Gnu libreadline library, you can get history and quite a bit of editing functionality.

...roboticus

When your only tool is a hammer, all problems look like your thumb.

  • Comment on Re: What editing mode am I in when interacting with a Perl script using OS X Terminal? Because the keyboard works differently to a normal shell.