I'd like to be able to view and make changes to the source code of installed (via zef
) perl6 modules. How can I do that?
On my system, the module sources are under ~/.perl6/sources/
and there's also some kind of metadata file about the modules in ~/.perl6/dist/
.
I can also use zef locate ...
to show a module's source path, but making changes directly to the source files doesn't seem to have any effects (i.e., use
the module from the REPL doesn't show my changes).
I'm guessing it's because the modules were pre-compiled, and perl6 doesn't pick up my changes and re-precompile the modules when I make changes directly to the module source files that way...
UPDATE: Deleting the corresponding pre-compiled files under ~/.perl6/precomp/...
seems to work, but I'm not sure how and if that messes up anything.