in reply to Re^2: Parsing XML in a __DATA__ Block
in thread Parsing XML in a __DATA__ Block

__END__ and __DATA__ are virtually synonyms, so that doesn't sound too practically feasable to me. Besides, what if you do want a line "__END__" inside your data, what then?

Perhaps you should look into Inline::File.