> $ lua -l lua-utf8 -e 'print(_G["lua-utf8"].len("test"))'
> [...]
> So I'm wondering: were such hyphen-ated names considered with that -l behavior
> change, and if not, is it a common enough use case that the patch potentially
> breaks the stability promise of the 5.4 version?
If we go along this line, then commit 65434b4d also broke compatibility,
at it disallowed module names that contain '='.
When the documentation says "global 'mod'", it is implicit that 'mod' is
a valid global name. The fact that _G["lua-utf8"] worked before is a bug,
not a feature.
-- Roberto