如何禁用 Perl 6 REPL 创建 .precomp [英] How to disable Perl 6 REPL creating .precomp
问题描述
每次我运行 perl6
进入 REPL
模式时,它都会创建一个 .precomp
目录,这也减慢了迅速的.如果 .precomp
目录已经存在,则提示几乎立即出现,否则 perl6
需要几秒钟来创建它.
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?
推荐答案
检查您是否有 PERL6LIB
环境变量集,以及它是否包含 .
.如果我设置了它,我可以准确地产生你遇到的行为.解决方案是从您的 PERL6LIB
中清除它.
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
.
这篇关于如何禁用 Perl 6 REPL 创建 .precomp的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!