Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2015-07-07 11:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (88 votes), past polls