问题
Every time I run perl6
to enter the REPL
mode, it creates a .precomp
directory, which also slows down the appearance of the prompt. If the .precomp
directory already exists, the prompt appears almost immediately, otherwise perl6
takes several seconds to create it.
Is there a way to disable this feature?
回答1:
Check if you have a PERL6LIB
environment variable set, and if it contains .
. I can produce exactly the behavior you're encountering if I set that. The solution is to clear that from your PERL6LIB
.
来源:https://stackoverflow.com/questions/53691072/how-to-disable-perl-6-repl-creating-precomp