You might want to try using the Benchmark module to compare the speed of two (or more) approaches.
It's part of the standard distribution, and pretty useful.
perldoc Benchmark
In reply to Re: Which witch is the quicker witch?
by ChrisS
in thread Which witch is the quicker witch?
by Dismas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |