Do you know where your variables are? | |
PerlMonks |
|
I am not a programmer, but started to learn Perl in autumn/winter 2002 when I had written a chess playing program in C and wanted it to play on FICS and I thougt it would be easer to connect it with Perl then C. Back then the program only played random moves now it is a little bit better :-)
When I started I did not know about the sub keyword and not about use strict but that did not stop me from using use Net::Telnet(); use IPC::Open2; and a few whiles to make it work. The code was realy ugly though and I have cleaned it up somewhat now.
You can play against it on FICS where it is known as Snaps(C).