Help for this page

Select Code to Download


  1. or download this
    use strict;
    use XML::Simple;
    ...
      
      # 8-6-2003.  sub guess can be completely replaced with
      # the 'sub guess' found in the following node
    
  2. or download this
      sub guess {
        my $self = shift;
    ...
    }until($g->chances<=0);
    print "Sorry, the monk was: " . $g->secret . "\n"