Using table.pack from Lua 5.2