On 6/5/07, <b class="gmail_sendername">Ricardo SIGNES</b> <<a href="mailto:rjbs-perl-abe@lists.manxome.org">rjbs-perl-abe@lists.manxome.org</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
* "Faber J. Fedor" <<a href="mailto:faber@linuxnj.com">faber@linuxnj.com</a>> [2007-06-05T12:11:23]<br>> IOW, I want my program to modify its source code/file by updating a data<br>> structure within the program/file. I think the __DATA__ tag is going to be
<br>> useful here but I'm not sure.<br>><br>> Any suggestions on how to do this?<br><br>Yes: don't.<br><br>Instead, put the data in another file.</blockquote><div><br>Well that's no fun! <br></div><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Updating __DATA__ is a recipe<br>for global devastation the likes of which the world has never seen before.
</blockquote><div><br>Fist you say "Don't do it" and then you give me a reason to do it. Make up your mind! <br><br>One of these days I'm going to figure out how to write self-modifying code.<br><br>--<br>
<br>Faber<br><br></div><br><br></div><br>