Forum Discussion
Chad_Roberts_21
Nimbostratus
Nov 28, 2006Dash in a data group list name
I recently wrote a few rules which referenced new data group lists, and things bugged out on me. (That's what I get for slapping new iRules into production without full testing, confident in my unders...
Nov 28, 2006
Dashes in variables is allowed, but you need to enclose them in curly braces. Underscores are ok but TCL interprets the dashes as a special character and terminates the variable at the dash. To bypass this surround the name with curly braces.
$::{data-group-name}Give that a shot and see if it works for you.
-Joe
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