diff options
| author | Diego Nehab <diego@impa.br> | 2013-06-11 19:10:03 +0800 |
|---|---|---|
| committer | Diego Nehab <diego@impa.br> | 2013-06-11 19:10:03 +0800 |
| commit | 6e00ffd62f135c30be3b5a6404a722beb1bdf215 (patch) | |
| tree | a49bf542aa24ae34e563ff6b0bd5a5e1a139b41f /doc/installation.html | |
| parent | 906abf29d146272512feddd74005a8833ee34e7d (diff) | |
| download | luasocket-6e00ffd62f135c30be3b5a6404a722beb1bdf215.tar.gz luasocket-6e00ffd62f135c30be3b5a6404a722beb1bdf215.tar.bz2 luasocket-6e00ffd62f135c30be3b5a6404a722beb1bdf215.zip | |
Changing from 2.1-rc1 to 3.0-rc1.
Diffstat (limited to 'doc/installation.html')
| -rw-r--r-- | doc/installation.html | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/doc/installation.html b/doc/installation.html index 37c309b..28a9fbb 100644 --- a/doc/installation.html +++ b/doc/installation.html | |||
| @@ -39,12 +39,6 @@ Installation"> | |||
| 39 | 39 | ||
| 40 | <h2>Installation</h2> | 40 | <h2>Installation</h2> |
| 41 | 41 | ||
| 42 | <p> LuaSocket 2.1-rc still uses Lua 5.1's package | ||
| 43 | system. Users that have already made the switch to | ||
| 44 | Lua 5.2 should leave the default | ||
| 45 | <tt>LUA_COMPAT_MODULE</tt> defined when compiling their Lua | ||
| 46 | distribution for compatibility with LuaSocket. </p> | ||
| 47 | |||
| 48 | <p> Here we describe the standard distribution. If the | 42 | <p> Here we describe the standard distribution. If the |
| 49 | standard doesn't meet your needs, we refer you to the Lua | 43 | standard doesn't meet your needs, we refer you to the Lua |
| 50 | discussion list, where any question about the package scheme | 44 | discussion list, where any question about the package scheme |
| @@ -92,17 +86,17 @@ it should be easy to use LuaSocket. Just fire the interpreter and use the | |||
| 92 | <tt>require</tt> function to gain access to whatever module you need:</p> | 86 | <tt>require</tt> function to gain access to whatever module you need:</p> |
| 93 | 87 | ||
| 94 | <pre class=example> | 88 | <pre class=example> |
| 95 | Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio | 89 | Lua 5.2.2 Copyright (C) 1994-2013 Lua.org, PUC-Rio |
| 96 | > socket = require("socket") | 90 | > socket = require("socket") |
| 97 | > print(socket._VERSION) | 91 | > print(socket._VERSION) |
| 98 | --> LuaSocket 2.1-rc1 | 92 | --> LuaSocket 3.0-rc1 |
| 99 | </pre> | 93 | </pre> |
| 100 | 94 | ||
| 101 | <p> Each module loads their dependencies automatically, so you only need to | 95 | <p> Each module loads their dependencies automatically, so you only need to |
| 102 | load the modules you directly depend upon: </p> | 96 | load the modules you directly depend upon: </p> |
| 103 | 97 | ||
| 104 | <pre class=example> | 98 | <pre class=example> |
| 105 | Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio | 99 | Lua 5.2.2 Copyright (C) 1994-2013 Lua.org, PUC-Rio |
| 106 | > http = require("socket.http") | 100 | > http = require("socket.http") |
| 107 | > print(http.request("http://www.impa.br/~diego/software/luasocket")) | 101 | > print(http.request("http://www.impa.br/~diego/software/luasocket")) |
| 108 | --> homepage gets dumped to terminal | 102 | --> homepage gets dumped to terminal |
| @@ -123,7 +117,7 @@ Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio | |||
| 123 | <p> | 117 | <p> |
| 124 | <small> | 118 | <small> |
| 125 | Last modified by Diego Nehab on <br> | 119 | Last modified by Diego Nehab on <br> |
| 126 | Mon Apr 16 21:01:42 HKT 2012 | 120 | Tue Jun 11 19:06:14 HKT 2013 |
| 127 | </small> | 121 | </small> |
| 128 | </p> | 122 | </p> |
| 129 | </center> | 123 | </center> |
