Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    use warnings;
    ...
    my $line = $term->readline("Strike RETURN to continue: ");
     
    say $line . $term_out;
    
  2. or download this
     "new"       returns the handle for subsequent calls to following
                 functions. Argument is the name of the application.
                 Optionally can be followed by two arguments for "IN" and
    ...
     "addhistory"
                 adds the line to the history of input, from where it can 
    +be
                 used if the actual "readline" is present.