Forum Discussion
Andy_McGrath
Cumulonimbus
Feb 14, 2018Best practive for iRules-LX calls with a proc
I have entered the world of iRules LX (and it is greate 😄 ) however, I have a question.
If want to be able to make iLX calls within iRule procs so I have setup the iLX handler as a static variable...
Satoshi_Toyosa1
Feb 25, 2018Ret. Employee
I personally prefer to have ILX::init close to ILX::call (within the same proc) because it makes the code easier to read (especially when you have a loooong iRule), static variable is not exactly a great feature and sometime causes pain (IMHO), and I assume the init call is not expensive (not 100% sure though).
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
