in reply to Re^2: Parsing XML in a __DATA__ Blockin thread Parsing XML in a __DATA__ Block
Perhaps you should look into Inline::File.