Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: BOfH Random Excuse Generator

by virtualsue (Vicar)
on May 26, 2001 at 13:24 UTC ( #83486=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while (<>) {
          if ($_ eq /yes/ or /y.*/) {
    ...
              exit;
          }
      }
    
  2. or download this
    my $ans = <STDIN>;
    print "\n$word1 $word2 $word3 $word4\n" if ($ans =~ /^y/);
    
  3. or download this
    print "\n$word1 $word2 $word3 $word4\n" if (($ans = <STDIN>) =~ /^y/);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://83486]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2015-07-06 00:45 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 (68 votes), past polls