zef
zef copied to clipboard
zef info: 'Use of uninitialized value element' warning when META6.json contains explicit null
(happens with older zefs also)
➜ ~ zef --version
1.0.0
➜ ~ zef info xxirakup6-RandomColor
===> Searching for: xxirakup6-RandomColor
- Info for: xxirakup6-RandomColor
- Identity: xxirakup6-RandomColor:ver<v.0.11>:auth<zef:Xliff>
- Recommended By: Zef::Repository::Ecosystems<fez>
- Installed: No
Description: A port of the randomColor Javascript library for generating attractive random colors
Provides: 1 modules
Support:
Use of uninitialized value element of type Any in string context.
Methods .^name, .raku, .gist, or .say can be used to stringify it to something meaningful.
in block at /Users/coke/.rakubrew/versions/moar-2025.03/share/perl6/site/sources/0A0B8E741A985327CFC9D7FF5645992A90D75D80 (Zef::CLI) line 873
# source:
Depends: 1 items
I think that distribution is intended to be raku-RandomColor and not xxirakup6-RandomColor.
Its META6.json file contains
"support": {"source": null},
I'm kind of conflicted. I suppose it could be an improvement in zef to not try to stringify such explicit nulls, but that is also going into META6.json validation territory.