In this case, it just seems to hang forever once it reaches this point in the execution. The script runs an earlier query just fine. I'm thinking it's something funky in the data that something in my Perl specific data pipeline is choking on. There are some funky things in the data of these particular tables, especially the "NOTE" data which I only read to strip a country name from the front of and throw away a bunch of junk on the end. Example of what I mean:
47 138 0 1O ARMENIA
+ AMFFFTTFTFXXXX XXXXX XX O X X TTFFFARM
48 138 0 1T ARUBA
+ AWFFFOFTTTXX X XXXXX X X O X TTFTTABW
49 138 0 1Y AUSTRALIA
+ AUFFFTFTTTX X XX OXXXXX XFFFFFAUS
50 138 0 23 AUSTRIA
+ ATFFFTTTTTX X XX X X OXXXXX XFFFTTAUT
Sometimes I get in over my head on stuff like this, especially when I'm largely ignorant about how to properly configure my tools to do what I think I might need or want.
Just another Perl hooker - My clients appreciate that I keep my code clean but my comments dirty.