/usr/share/doc/libio-prompt-perl/examples/num.pl is in libio-prompt-perl 0.997001-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | #!/usr/bin/perl
use IO::Prompt;
# You can constrain input to be numeric, or even integral...
my $how_many = prompt -number => 'How many? ';
print "You asked for $how_many\n";
$how_many = prompt -i => 'How many? ';
print "You asked for $how_many\n";
|