Skip to content
Term::ReadLine::Perl5
Perl
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib/Term/ReadLine
t
.gitignore
CHANGES
MANIFEST
MANIFEST.SKIP
META.yml
Makefile.PL
README
README.pod
test.pl

README.pod

This file is shared by both README.pod and Perl.pm after its __END__ It might also be on github: https://github.com/jmadler/p5-Term-ReadLine-Perl5

Term::ReadLine::Perl5 - A pure Perl implementation GNU Readline

SYNOPSIS

  use Term::ReadLine::Perl5;
  $term = new Term::ReadLine::Perl5 'ProgramName';
  while ( defined ($_ = $term->readline('prompt>')) ) {
    ...
  }

DESCRIPTION

Overview

This is a implementation of the GNU Readline/History Library written entirely in Perl.

GNU Readline reads lines from an interactive terminal with emacs or vi editing capabilities. It provides as mechanism for saving history of previous input.

This package typically used in command-line interfaces and REPLs (Read, Eval, Print Loops).

INSTALL

To install this module type:

    perl Makefile.PL
    make
    # for interactive testing:
    make test 
    # for non-interactive testing
    AUTOMATED_TESTING=1 make test
    make install # might need sudo make install

For interactive testing try redirect STDIN and/or STDOUT.

LEGALESE

See the contents of README

Something went wrong with that request. Please try again.