in reply to nested variable resolution
Take a look at Math::Expr. It stores math expressions as a parse tree object. You can store such objects in files with Data::Dumper.
Conway's Game of Life
Perl regular expressions
My Magic 8-Ball™
Results (184 votes). Check out past polls.