Steve King wrote:
I wrote a Perl script ...

D'oh! That script shouldn't have had my employer's boilerplate copyright at the top.  Here it is again, with the proper copyright notice. Please use this version.

--
Steve King
Sr. Software Engineer
Arbor Networks
+1 734 821 1461
www.arbornetworks.com