aboutsummaryrefslogtreecommitdiff
path: root/doc/installation.html
diff options
context:
space:
mode:
authorDiego Nehab <diego@impa.br>2013-06-11 19:10:03 +0800
committerDiego Nehab <diego@impa.br>2013-06-11 19:10:03 +0800
commit6e00ffd62f135c30be3b5a6404a722beb1bdf215 (patch)
treea49bf542aa24ae34e563ff6b0bd5a5e1a139b41f /doc/installation.html
parent906abf29d146272512feddd74005a8833ee34e7d (diff)
downloadluasocket-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.html14
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&nbsp;5.1's package
43system. Users that have already made the switch to
44Lua&nbsp;5.2 should leave the default
45<tt>LUA_COMPAT_MODULE</tt> defined when compiling their Lua
46distribution 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
49standard doesn't meet your needs, we refer you to the Lua 43standard doesn't meet your needs, we refer you to the Lua
50discussion list, where any question about the package scheme 44discussion 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>
95Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio 89Lua 5.2.2 Copyright (C) 1994-2013 Lua.org, PUC-Rio
96&gt; socket = require("socket") 90&gt; socket = require("socket")
97&gt; print(socket._VERSION) 91&gt; print(socket._VERSION)
98--&gt; LuaSocket 2.1-rc1 92--&gt; 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
102load the modules you directly depend upon: </p> 96load the modules you directly depend upon: </p>
103 97
104<pre class=example> 98<pre class=example>
105Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio 99Lua 5.2.2 Copyright (C) 1994-2013 Lua.org, PUC-Rio
106&gt; http = require("socket.http") 100&gt; http = require("socket.http")
107&gt; print(http.request("http://www.impa.br/~diego/software/luasocket")) 101&gt; print(http.request("http://www.impa.br/~diego/software/luasocket"))
108--&gt; homepage gets dumped to terminal 102--&gt; 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>
125Last modified by Diego Nehab on <br> 119Last modified by Diego Nehab on <br>
126Mon Apr 16 21:01:42 HKT 2012 120Tue Jun 11 19:06:14 HKT 2013
127</small> 121</small>
128</p> 122</p>
129</center> 123</center>