Skip to content

Instantly share code, notes, and snippets.

@ugexe
Created December 31, 2015 08:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ugexe/d57168ebc0ac0e6261a0 to your computer and use it in GitHub Desktop.
Save ugexe/d57168ebc0ac0e6261a0 to your computer and use it in GitHub Desktop.
perl6 compunit problems
1) Modules that fail to precompile will be installed anyway even without :force
2) Can't tell whats actually installed without manually grepping every manifest file
3) Can't use a specific version or auth of a module
4) Can't disable precompilation with a flag
5) Can't use a module that is in a read only path
6) Precompilation occurs during testing and then again during install
7) Can't have an external CompUnit::Repository load before modules. BEGIN { <code to register CU> } if its loaded just like a regular module and thus other regular modules with BEGIN blocks can be loaded before your CompUnit repository.
8) Distribution's `provides` section is overwritten with its own special format instead of using a separate attribute/store. So what gets saved in the manifest is the META6.json except not quite.
9) .install takes positional, optional hashes as arguments
10) No hooks. And hooks as outlined in S22 `"resources" : { "libraries" : { "inline_helper" : "build-time" }` won't work because now resources is just a file mapper, so it also needs to be completely rethought out as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment