6 Feb
2004
6 Feb
'04
7:17 p.m.
You can't use 'eval' in either a DTML method or a python script. You have to create an external method to use 'eval'. It's a bad idea. When I was a newie, I also figured out the same solution, but somebody said:
"What if instead of a list, some bad user pass: rm -Rf?" So, it seems an useful command, but in fact it is dangerous. My suggestion for the thread author: if you can't send a list as somebody said, then remove the first and last square braces and do a split. Off couse this will only work if your list is very simple; on the contrary, if you use lists of lists, you will have to do some kind of recursive function. Regards, Josef