Help for this page
use IO::Prompt::Hooked; ... message => 'Input a string:', validate => sub { q{} ne shift } );
my $string = prompt ( message => 'Input a string:', validate => qr/./ );