title: Destructors in Lua?
body: <p>Is it possible to get destructors in Lua w/o using userdata?</p>
  
  <p><a href="http://www.lua.org/notes/ltn006.html" rel="noreferrer">http://www.lua.org/notes/ltn006.html</a> looks promising (in fact exactly what I want); except it's a path for Lua 4.0.</p>
  
  <p>Basically, I want a way to have a function called when a table is collected.</p>
  
  <p>Thanks!</p>