Texan has asked for the wisdom of the Perl Monks concerning the following question:

I have written a script to do bulk hostname lookups. Give my script a list in a text file and it will do the lookup and give you a text based output with the information it found. I want to know if threading this is:
A) Possible, I am looking at several thousand lookups and would like to streamline and speed up this code as much as possible.
B) Is the best way to speed up this script. Right now it takes 3-6 hours to do 6000 lookups. I would like to trim this time down to as little as possible.


2004-10-22 Edited by Arunbear: Changed title from 'Threading', as per Monastery guidelines