No such thing as a small change | |
PerlMonks |
Re: Is it possible to modify __DATA__ via the DATA file handle or otherwise?by dsheroh (Monsignor) |
on Feb 10, 2018 at 09:57 UTC ( [id://1208883]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|