To update in-place I would try to separate code that's subject to updates into a file to require, so the #! and any user defined vars are left intact. I'd also be concerned with portable methods of creating and executing new files.
Looking forward to whatever you come up with.
--
Check out my Perlmonks Related Scripts like framechat,
reputer, and xNN.
In reply to Re: Fun with an auto-update
by epoptai
in thread Fun with an auto-update
by mr.nick
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |