The data from @connections is thankfully small. It's the endless upper bounds of $iteration that should suck up RAM in the long run. I haven't figured how I should deal with that yet.
I've posted the full script (and questions) at
http://www.perlmonks.org/index.pl?node_id=214252
Thanks!
<-> In general, we find that those who disparage a given operating system, language, or philosophy have never had to use it in pratice. <->