luasocket/test/dicttest.lua

6 lines
151 B
Lua
Raw Permalink Normal View History

local dict = require"socket.dict"
2006-03-19 22:22:21 +01:00
print(dict.get("dict://localhost/d:teste"))
2005-06-13 00:02:21 +02:00
for i,v in pairs(dict.get("dict://localhost/d:teste")) do print(v) end