Search code examples
perlcompilationbytecode

Why doesn't Perl compile to binary files like python


It strikes me as a Good Thing (ie. in terms of compilation time), that the Python interpreter will create bytecode .pyc files. I believe python uses some sort of hash to determine if the source has changed and then recompile.

Would this be a good idea for Perl? ( with respect to the larger projects with many dependencies etc ).


Solution

  • For quite long explanation of .pmc files, there is lenghty article on perlmonks, also explaning why nobody uses it.