in reply to ugly mod perl error log

This is a stack trace. it just doesn't look like it because each line is getting a time stamp.

It looks like the output you would see if you're script was written to use Carp and then called "cluck" (or maybe "confess")

i would take a good hard look at your "subnets::subnetTable" function .. either it is generating this stack trace, or you havent' given us the full log, and you're calling something that is generating this.