Print statements aren't an accurate way to measure performance. Try using Devel::SmallProf. It can be used from the command line like so perl -d:SmallProf your_script.pl. The output shows how often each line is executed and the amount of time it used.
In reply to Re^3: notequal very slow
by hipowls
in thread notequal very slow
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |