in reply to Which code executes faster

Why? Is that the place where your program is spending too much time?

If you really need to find out, I suggest you familiarise yourself with the Benchmark module. But make sure you don’t miss Zed Shaw’s article Programmers Need To Learn Statistics Or I Will Kill Them All.

You’ll also want to know what Perl actually makes of your code; B::Deparse will help you with that.

Makeshifts last the longest.

Replies are listed 'Best First'.
Re^2: Which code executes faster
by alandev (Scribe) on Jul 31, 2006 at 18:38 UTC
    WOW
    thanks monks