This is assuming that the values of $condition1 and $condition2 will actually be "1" or "0".eval "C$condition1"."_C$condition2"; sub C1_C1 { ... } sub C0_C1 { ... }
In reply to Re: Better solution for code reduction?
by perlfan
in thread Better solution for code reduction?
by Limbic~Region
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |