Unless somebody wants to help get this to work in UBB, this thread might as well be moved over to the Perl forum.
I any case, I made some more changes. Instead of the computer making a random pick, there are now 3 different opponents that you can choose from - The Rock, Johnny the Paperboy (Better off Dead) and Edward Scissorhands. Each of them uses a different approach in their "thinking".
The Rock will still just make a random guess.
Johnny will assume you will repeat your past choices, so if you keep chosing Rock, chances are he will pick Paper to beat you.
Scissorhands assumes that you will pick something different, so if you pick Rock, he will guess next time you will probably pick either Paper or Scissor, and will guess accordingly.
Anyway, if any of your Perl-gods want to help me out, please chip in. Granted I've been having fun with this little script.
-Tacks