in reply to minimal shell-like interface for CLI app

Term::ReadLine is core and should satisfy your requirements, but see also this blog post (and the follow ups) implementing a repl using Moose.

Update: Had typo'd my CPAN link there ('l' for 'L').

The cake is a lie.
The cake is a lie.
The cake is a lie.

  • Comment on Re: minimal shell-like interface for CLI app

Replies are listed 'Best First'.
Re^2: minimal shell-like interface for CLI app
by wanradt (Scribe) on Mar 05, 2009 at 07:35 UTC
    Except Term::ReadLine is not bundled with perl base, it is what i looking for. I try for now not make too many dependencies (like Moose and namespaces), but this blog made my horizonts more wide. Thank you!

    Nġnda, WK

      Erm I screwed up my cpan link above, but CPAN, permodlib's list, and Module::CoreList all beg to differ:

      $ corelist Term::ReadLine Term::ReadLine was first released with perl 5.002

      The cake is a lie.
      The cake is a lie.
      The cake is a lie.