Yes, I agree. Here is what I am trying to achieve: I have a database of 
command automation templates. The templates include placeholders for 
information such as: remote host id, user name, path, etc. I also have an XML 
file that has environment information for hundreds of computer environments. 
The solution that I am trying to hammer out first builds the command, replacing 
the place holders with variable names. It then simply eval’s the variable names 
(from the hash in my example) and then re-eval’s the command template.
     I guess I will have to give it some more thought. Maybe I can skip the 
variables altogether and simply regex the values into the template. Then I 
would only need to eval the template. I was kind of hopping to references 
though… :)

Tal

 
_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to