![]() |
|
We don't bite newbies here... much | |
PerlMonks |
Re^2: ASCII Battleship Programby perlStuck (Sexton) |
on Feb 04, 2012 at 15:25 UTC ( #951813=note: print w/replies, xml ) | Need Help?? |
Yeah, I think I found a partial solution at least. It would appear that two of the conditionals that would allow the return of a properly placed ship was faulty. In 'sub place_ship' there's a line that reads:
Changing it to: That seems to work.
In Section
Cool Uses for Perl
|
|