Forum Discussion
Deb_Allen_18
May 09, 2006Historic F5 Account
calling a command from a class
I'm building lots of variations on a theme for redirects, and would like to be able to use dynamic request variables to build redirect responses.
I was hoping to use command strings stored in a cl...
Deb_Allen_18
May 19, 2006Historic F5 Account
getfield commands are definitely returning what's expected, problem is just that it's not being interpreted.
When I use eval against any string that's not actually a command (the $row variable string retrieved by findclass), I get this runtime error:
May 18 23:01:57 tmm tmm[788]: 01220001:3: TCL error: invalid command name "" while executing "" ("eval" body line 1) invoked from within "eval $row"
I've been messing about with some other options, but no luck yet. The code works fine until I go to pull the redirect string out of the class. I'm wondering if the return from findclass is quoting the string such that evaluation is not taking place?
/deb
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects