in my quest to learn perl, i've gone to the code section of this site and have read through some of the programs there in hopes to gain a better understanding of how real perl programs are written, in won such visit i came across a gameAI written by Falkkin. I thought that it was a really cool program and downloaded it so i could play with it. but to my disappointment it didn't work. woe is me :( i got a compile time error saying the module TicTacToe.pm returned a not true value. i've looked at the code over and over again and i can't find any reason why it would do such a thing. my only conclusion is it has to be my system or the perl interpretor causing the error. I'm running Win2000 and ActivePerl
Thanks for any help offered
jjdraco
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|