Forum Discussion
The_Bhattman
Nimbostratus
Mar 05, 2008Does iRULES Support Boolean Short Circuit
Does iRules support Boolean short circuit like Perl does?
For example in Perl a short circuit would like the following
($cat eq "al") && (return "Alcohol");
Could there be something ...
The_Bhattman
Nimbostratus
Mar 07, 2008Sorry Hoolio,
I wasn't clear. Boolean short circuit is basically another conditional expression, much like a switch arguments or IF ELSE arguments. Basically it works where the second argument is only executed or evaluated if the first argument meets a value. On perl this type of condition expression is faster then switch statement of IF ELSE. This is because Perl was written to take advantage of that. I wondered if iRULE could support that.
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