Scroll to navigation

Reply::Plugin::ReadLine(3pm) User Contributed Perl Documentation Reply::Plugin::ReadLine(3pm)
 

NAME

Reply::Plugin::ReadLine - use Term::ReadLine for user input

VERSION

version 0.35

SYNOPSIS

  ; .replyrc
  [ReadLine]
  history_file = '.hist'
  history_length = 100

DESCRIPTION

This plugin uses Term::ReadLine to read lines from the user. This enables useful features such as line editing and command history. The history will be persisted between runs, by default in ".reply_history" in your application data directory, although this is changeable with the "history_file" option. To limit the number of lines written to this file, you can use the "history_length" option. Setting a "history_length" of 0 will disable writing history to a file entirely.
NOTE: you probably want to install a reasonable Term::ReadLine backend in order for this plugin to be very useful. Term::ReadLine::Gnu is highly recommended if possible.

AUTHOR

Jesse Luehrs <doy@tozt.net>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2014 by Jesse Luehrs.
This is free software, licensed under:
  The MIT (X11) License
2014-07-04 perl v5.18.2