MySQL Forums
Forum List  »  Perl

Re: What's wrong with my code??
Posted by: Randy Clamons
Date: October 24, 2011 11:13AM

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!

Options: ReplyQuote

Written By
October 22, 2011 02:20AM
October 22, 2011 08:58PM
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.