diff options
| author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2007-06-15 06:28:56 +0000 |
|---|---|---|
| committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2007-06-15 06:28:56 +0000 |
| commit | 1c487e4be8de182e2323d7a1d6126859e3172fe9 (patch) | |
| tree | 093d7ee013c6095fc3fe913281431be5e62550f6 /doc/installation.html | |
| parent | e381bde1ea74552c227e33dbb0c73a2fade897f6 (diff) | |
| download | luasocket-1c487e4be8de182e2323d7a1d6126859e3172fe9.tar.gz luasocket-1c487e4be8de182e2323d7a1d6126859e3172fe9.tar.bz2 luasocket-1c487e4be8de182e2323d7a1d6126859e3172fe9.zip | |
Almost ready to release.
Diffstat (limited to 'doc/installation.html')
| -rw-r--r-- | doc/installation.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/installation.html b/doc/installation.html index 8c64557..0288f4a 100644 --- a/doc/installation.html +++ b/doc/installation.html | |||
| @@ -39,7 +39,7 @@ Installation"> | |||
| 39 | 39 | ||
| 40 | <h2>Installation</h2> | 40 | <h2>Installation</h2> |
| 41 | 41 | ||
| 42 | <p> LuaSocket 2.0.1 uses the new package system for Lua 5.1. | 42 | <p> LuaSocket 2.0.2 uses the new package system for Lua 5.1. |
| 43 | All Lua library developers are encouraged to update their libraries so that | 43 | All Lua library developers are encouraged to update their libraries so that |
| 44 | all libraries can coexist peacefully and users can benefit from the | 44 | all libraries can coexist peacefully and users can benefit from the |
| 45 | standardization and flexibility of the standard. | 45 | standardization and flexibility of the standard. |
| @@ -122,17 +122,17 @@ it should be easy to use LuaSocket. Just fire the interpreter and use the | |||
| 122 | <tt>require</tt> function to gain access to whatever module you need:</p> | 122 | <tt>require</tt> function to gain access to whatever module you need:</p> |
| 123 | 123 | ||
| 124 | <pre class=example> | 124 | <pre class=example> |
| 125 | Lua 5.0.2 Copyright (C) 1994-2004 Tecgraf, PUC-Rio | 125 | Lua 5.1.2 Copyright (C) 1994-2007 Lua.org, PUC-Rio |
| 126 | > socket = require("socket") | 126 | > socket = require("socket") |
| 127 | > print(socket._VERSION) | 127 | > print(socket._VERSION) |
| 128 | --> LuaSocket 2.0.1 | 128 | --> LuaSocket 2.0.2 |
| 129 | </pre> | 129 | </pre> |
| 130 | 130 | ||
| 131 | <p> Each module loads their dependencies automatically, so you only need to | 131 | <p> Each module loads their dependencies automatically, so you only need to |
| 132 | load the modules you directly depend upon: </p> | 132 | load the modules you directly depend upon: </p> |
| 133 | 133 | ||
| 134 | <pre class=example> | 134 | <pre class=example> |
| 135 | Lua 5.0.2 Copyright (C) 1994-2004 Tecgraf, PUC-Rio | 135 | Lua 5.1.2 Copyright (C) 1994-2007 Lua.org, PUC-Rio |
| 136 | > http = require("socket.http") | 136 | > http = require("socket.http") |
| 137 | > print(http.request("http://www.cs.princeton.edu/~diego/professional/luasocket")) | 137 | > print(http.request("http://www.cs.princeton.edu/~diego/professional/luasocket")) |
| 138 | --> homepage gets dumped to terminal | 138 | --> homepage gets dumped to terminal |
