Re: What's wrong with my code??
Hi Dain,
I'm not certain, but I think the problem must be with this line:
exit 0 unless $game; # dh
Try it like this instead:
die ("No game: $game") unless $game.
This just so you can tell if you're getting past this line in the code. There doesn't seem to be anything else in this code segment that would return a 0.
Good luck!
Subject
Written By
Posted
Re: What's wrong with my code??
October 24, 2011 11:13AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.