Forum Discussion
TMcGov_92811
Nimbostratus
Jan 21, 2009IRule to use Pool depending on Client source address
I need to add some more logic to an existing iRule, and I think I need to clean it up before doing so. I'm sure there must be a better way for me to do this. Basically, I just want to examine the clie...
hoolio
Cirrostratus
Jan 22, 2009I think that hyphens in TCL variables (or class names) need to be bracketed or they'll be interpreted incorrectly:
% set test-variable some_value
some_value
% puts $test-variable
can't read "test": no such variable
% puts ${test-variable}
some_value
It might be easier to use underscores instead of hyphens.
Aaron
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