in reply to Help Explain Behavior

Your running the script after it is loaded (and compiled) into memory.

So the code can still be executed after the original source file vanished.

Cheers Rolf

Replies are listed 'Best First'.
Re^2: Help Explain Behavior
by Joe_ (Beadle) on Aug 19, 2012 at 17:20 UTC

    Yes I figured as much. But that's exactly what's been bothering me. You say the script has been already compiled! How is that? I thought Perl is interpreted.
    Please pardon my ignorance and enlighten me...

      Your source is compiled into an internal form (a parse tree) which is then optimized before being run.

      Cheers Rolf