[ABE.pm] self-modifying data structures
faber at linuxnj.com
Tue Jun 5 17:49:26 PDT 2007
On 6/5/07, Ricardo SIGNES <rjbs-perl-abe at lists.manxome.org> wrote:
> * "Faber J. Fedor" <faber at linuxnj.com> [2007-06-05T12:11:23]
> > IOW, I want my program to modify its source code/file by updating a data
> > structure within the program/file. I think the __DATA__ tag is going to
> > useful here but I'm not sure.
> > Any suggestions on how to do this?
> Yes: don't.
> Instead, put the data in another file.
Well that's no fun!
Updating __DATA__ is a recipe
> for global devastation the likes of which the world has never seen before.
Fist you say "Don't do it" and then you give me a reason to do it. Make up
One of these days I'm going to figure out how to write self-modifying code.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ABE-pm