Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: comparison of character

by davido (Archbishop)
on Jul 16, 2013 at 15:57 UTC ( #1044630=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use IO::Prompt::Hooked;
    
    ...
      message  => 'Do you wish to update? (Y/N):',
      validate => qr/^[YN]$/i,
    );
    
  2. or download this
    my $choice = prompt(
      message  => 'Do you wish to update? (Y/N):',
      validate => qr/^[YN]$/i,
      error    => "Response must be 'Y' or 'N'.\n\n",
    );
    
  3. or download this
    my $choice = prompt(
      message  => 'Do you wish to update? (Y/N):',
    ...
      validate => qr/^[YN]$/i,
      error    => "Response must be 'Y' or 'N'.\n\n",
    );
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1044630]
help
Chatterbox?
and the questions are moot...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2017-10-21 03:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (269 votes). Check out past polls.

    Notices?