Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

?DISTRIBUTION only works in a module #4541

Open
coke opened this issue Dec 9, 2024 · 1 comment
Open

?DISTRIBUTION only works in a module #4541

coke opened this issue Dec 9, 2024 · 1 comment
Labels
docs Documentation issue (primary issue type)

Comments

@coke
Copy link
Collaborator

coke commented Dec 9, 2024

https://docs.raku.org/language/variables#$?DISTRIBUTION doesn't mention that you need to call it from a module to be useful (in top level scripts, it's Nil)

@coke coke added the docs Documentation issue (primary issue type) label Dec 9, 2024
@finanalyst
Copy link
Collaborator

finanalyst commented Dec 9, 2024

Also add that both .meta<version> and .meta<ver> work, but "you should use the one you define in your META6.json, which would be version. For historical/backcompat reasons ver also gets added to the META6.json upon install, but prior to install it might not exist based on what type of Distribution object gets used to create it"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation issue (primary issue type)
Projects
None yet
Development

No branches or pull requests

2 participants