Re: [Oddity] _G in package.loaded

"'Martin Eden' via lua-l" <[email protected]> Sat, 13 Jun 2026 04:28:03 +0200
Newsgroups gmane.comp.lang.lua.general
Message-ID <[email protected]>
Thanks for the replies

I was perceiving _G like global namespace alias. But it's wrong.
_G is just another table special is that it's default package when
resolving name.

Tangentially I appreciate style in code listings on Lua site.
Comparing with github it's like modern and baroque, One is centered
on content, other on frame.

-- Martin

-- 
You received this message because you are subscribed to the Google Groups "lua-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/lua-l/f3746b43-f104-4139-8be0-8b0879bae967%40disroot.org.