So, since there are so many ways to code switch/case constructs in perl (half a dozen in the camel book alone), which way is the most efficient as far as execution speed goes? Has anyone benchmarked this?Does it matter ( seems insignificant if you ask me)? Why don't you benchmark it?
In reply to Re: What is the most efficient perl switch/case statement?
by Anonymous Monk
in thread What is the most efficient perl switch/case statement?
by synistar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |