So it looks like the value of params is run through the SAFE::reval() function, which seems to try to evaluate the value as perl code?
So if I enter the parameter value as '<email address hidden>' then it evaluates as a string and works fine. The single quotes are stripped off once the value gets to the TT processor.
So maybe this is just a documentation issue. There should be a section for Event Parameters that explains that the contents get evaluated as perl code. So if you want to pass a string that looks like perl code it needs to be in quotes. I would assume that something like 'currency_symbol' = $ would also fail unless it has quotes.
So it looks like the value of params is run through the SAFE::reval() function, which seems to try to evaluate the value as perl code?
So if I enter the parameter value as '<email address hidden>' then it evaluates as a string and works fine. The single quotes are stripped off once the value gets to the TT processor.
So maybe this is just a documentation issue. There should be a section for Event Parameters that explains that the contents get evaluated as perl code. So if you want to pass a string that looks like perl code it needs to be in quotes. I would assume that something like 'currency_symbol' = $ would also fail unless it has quotes.
Does anyone use that feature for something cool?
Josh