title: Global function in lua
body: <p>Is there a way to have a function in Lua that can be accessed from any module in a project without having to first require it?</p>
  
  <p>something like:</p>
  
  <pre><code>module(..., package.seeall);
  function globFoo()
         print('global foo called');
  end
  </code></pre>
  
  <p>and have it called from somwhere else, like main</p>
  
  <pre><code>--main
  
  globFoo();
  </code></pre>
  
  <p>without requiring it?</p>