File: dicttest.lua

package info (click to toggle)
luasocket 3.0~rc1%2Bgit%2Bac3201d-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 2,216 kB
  • sloc: ansic: 4,487; makefile: 320; sh: 116
file content (5 lines) | stat: -rw-r--r-- 151 bytes parent folder | download | duplicates (13)
1
2
3
4
5
local dict = require"socket.dict"

print(dict.get("dict://localhost/d:teste"))

for i,v in pairs(dict.get("dict://localhost/d:teste")) do print(v) end