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.
My fellow monks
Can't tell (I'm NSA/FBI/HS/...)
Others (explain your deviation)
Results (126 votes). Check out past polls.