Help for this page

Select Code to Download


  1. or download this
    $ sudo apt-get install libncurses5-dev libreadline6-dev
    $ cpanm Term::ReadLine::Gnu
    
  2. or download this
    use feature qw(say);
    use strict;
    ...
        my $line = $term->readline( 'Enter input: ' );
        say "You entered: '$line'";
    }