I'd suggest some time spent searching the web for 'Artificial Life' might be of help. Having said that I can think of two possibilities that Perl would be very well suited to indeed.
- Cellular Automata
- Lindenmayer Systems
The match will Perl is because both CAs and L-systems can be implemented using a string rewriting approach. In fact L-systems from the math point of view are string rewriting systems, it's part of the definition of an L-system. And of course, Perl has some of the best string handling available.
Quick Batman, a bibliography!
-
Lindenmayer Systems, Fractals, and Plants. Przemyslaw Prusinkiewicz and James Hanan, Berlin, Germany: Springer-Verlag, 1980.
- The Book of L. G. Rozenberg and A. Salomaa., ed., Berlin, Germany: Springer-Verlag, 1986.
- The Computational Beauty of Nature. Gary William Flake, Cambridge, MA: MIT Press, 1999.
- Lindenmayer Systems. G. Rozenberg and A. Salomaa., ed., Berlin, Germany: Springer-Verlag, 1992.
A search of CPAN should also be worth the effort, I believe there is L-system code out there, probably CA as well.
–hsm
"Never try to teach a pig to sing…it wastes your time and it annoys the pig."