The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.


Text::LineEditor - simple line editor


   use Text::LineEditor;

   $text = &line_editor();


Text::LineEditor implements a -very- simple editor like Berkley mail used to use.


line_editor ();

Returns the text entered. If the text has been abandoned with ~x it returns an empty string.


To append text, just type. To end, type '.' by itself on a line. Tilde commands for editing (by themselves on a line): ~h This help message ~e, ~v Edit message using visual editor ~w <filename> Write current text to file <filename> ~p Print current text using 'lpr' ~. End message as normal ~x Quit, abandon text

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 65:

'=item' outside of any '=over'

Around line 70:

You forgot a '=back' before '=head1'