This came up on the Lua Mailing list, and I felt it should be brought up
here as well.  As part of a point I was making, I did this:

[spc]lucy:~>luarocks install luuid
        ...
[spc]lucy:~>lua
Lua 5.1.5  Copyright (C) 1994-2012 Lua.org, PUC-Rio
> uuid = require "uuid"
> show = require "org.conman.table".show
> show(uuid)
version  "uuid library for Lua 5.1 / Nov 2010"
new      function: 0x905cab0
time     function: 0x90541d8
isvalid  function: 0x905ca78

[spc]lucy:~>luarocks install uuid
        ...
[spc]lucy:~>lua
Lua 5.1.5  Copyright (C) 1994-2012 Lua.org, PUC-Rio
> uuid = require "uuid"
> show = require "org.conman.table".show
> show(uuid)
randomseed  function: 0xa0136f8
seed        function: 0xa0136d8
new         function: 0xa013788

  Two different rocks providing the same Lua module.  In my other message, I
mentioned the problem if installing LuaFoo, which uses luuid, and LuaBar,
which uses uuid and the problems this can cause.  

  Granted, right now with slightly over 300 rocks, this isn't much of an
issue, but it could be.  

  -spc



------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to