in reply to Writing a random dungeon generator in perl.

I tried both your suggestions, but now I get the following error: Use of uninitialized value in string eq at C:\mygame\mapgenerator.pl line 22.
  • Comment on Re: Writing a random dungeon generator in perl.

Replies are listed 'Best First'.
Re^2: Writing a random dungeon generator in perl.
by xdg (Monsignor) on Aug 16, 2005 at 08:14 UTC

    Some of this you're going to have to debug yourself -- PM is not a line-by-line debugging service. You're already using "strict" and "warnings", which is good-- both are very good programming practices and will help you greatly. You might also want to try "use diagnostics" or look up the meaning of the warning you're getting in perldiag.

    -xdg

    Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.