in reply to Is it possible to modify __DATA__ via the DATA file handle or otherwise?

This strikes me as a rather bad idea. If you do use version control, you're generating needless churn in the source repository whenever you change something in __DATA__. If you don't, you're taking an unnecessary risk of losing some or all of your program if a file offset is miscalculated or there's a problem while rewriting the file.

Too much risk, too little benefit, if you ask me.

  • Comment on Re: Is it possible to modify __DATA__ via the DATA file handle or otherwise?
  • Download Code