Why I love Perl… From the perliaq – infrequently asked questions about Perl
How do I get my perl program to run faster?
In Perl, there’s always more than one way to do it. Try one of these techniques.
use more 'cpu'; use less 'time'; use more 'speed'; ## or, the ever popular ## Military Marching Band accompaniment: use March::Sousa qw(:DoubleTime);
The March::*
hierarchy is not found on CPAN. Please contact the author for more information.
Alternatively, programs have been known to complete more quickly when they contain a declaration like this one:
BEGIN {exit}
If your application is truly urgent, you might try the experimental
no more 'time';
feature, but this has been reported to cause some systems to panic.
How can you not love a language with a good sense of (geek) humor? See the rest of the perliaq for more fun…