You will be interested to know that the C code and the Perl script are bug for bug compatible - they give the same results.
In reply to Re^3: help :) by GrandFather in thread help :) by Harry_Sor