in reply to How does Perl get to executable code?

I would say that most of this should be covered in your course material.

The short overview is that Perl creates bytecode, by running the C code that sits behind eval. The resulting bytecode/data structure is then executed by the Perl interpreter. All machine code that Perl runs has already been compiled in the perl executable when the program was built.