Help for this page

Select Code to Download


  1. or download this
    use IO::Prompt 'prompt';
    my $resp = prompt("Foo? ", -yn);
    ...
    use Term::ReadLine;
    my $term = Term::ReadLine->new;
    my $line = $term->readline("Bar? ");
    
  2. or download this
    use ExtUtils::MakeMaker 'prompt';
    my $value = prompt("Quz?","n");