Is there any way that I can get PERL to give me the elapsed time that it took to calculate something? I'm trying to make my algorithm for finding prime numbers more efficient, and obviously I can't tell the differences in the time it took to generate the list, so I need a way to say "List generated in X seconds".
Any help would be much appreciated.
orwell84 7 Junior Poster
KevinADC 192 Practically a Posting Shark
orwell84 7 Junior Poster
KevinADC 192 Practically a Posting Shark
orwell84 7 Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.