Persistent Perl interpreter accumulates mixed old and new code after repeated do FILE
The goal is to update code in a small, long-running Perl application without dropping the listening socket or interrupting in-flight requests. Perl's require records a path in %INC and skips re-execution on later calls, so it cannot hot-swap changed definitions in the same interpreter. do FILE re-executes code but does not maintain %INC the same way, and rep