I cut-n-pasted your code and ran it under Win2k/ActivePerl 806 using -d and hitting "n" a few times. The XMLin line returns immediately. I tried -d:ptkdb and got the same result. I looked at $config in the inspector window and it looks like it parsed the data OK. Sorry I couldn't be more helpful.