Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    print "Say something: "
    my $Input = <STDIN>;
    print "You typed $Input\n';
    
  2. or download this
    use ExtUtils::MakeMaker q(prompt);
    
    my $input = prompt('Say something: ');
    print "You typed $input\n";