in reply to
Who's a thief?
in thread Artificial Intelligence Programming in Perl
My point, which I alluded to in the first paragraph, is that some languages are better suited for some problems than others. AI, I suspect, is not Perl's strong suit.
Backtracking is an important feature of languages like Prolog and CLIPS. There is also a text-processing language called Icon that uses something called generators.
I wonder if perl's pattern matching could be put to use for AI purposes?