Hey, so I have the following sequence where I first register a variable, then want to evaluate stats from it later but I want the stats from when the variable was first created. What is the best way to do this?
I could see registering a second variable immedeatly that evaulates properties of the variable that was just registered, but it doesn't seem too 'clean' of a method.
What I am trying to do here is register a variable about a directory path, and only 'mysql_install_db' if that directory doesn't exist. However, I have to create that directory at some point, so by the time I run 'mysql_install_db' that 'p.stat.isdir' will evaluate to true every time, even if it didn't exist a second ago. So I somehow need to define and cache a variable one step ahead.