Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: BOfH Random Excuse Generator

by virtualsue (Vicar)
on May 26, 2001 at 13:24 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://83486]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-03-28 19:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found