couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chongqing xiao <cqx...@gmail.com>
Subject Simple erlang and erl question
Date Fri, 24 Sep 2010 18:48:23 GMT
Hi,

I was learning erlang and couchdb using the erl and I got the
following error when I tried to use couch_file in erl shell.
Could someone explain what might be the problem? I am guessing
couch_file is not the actual module but I can't figure out how to get
that.

฀Eshell V5.8.1  (abort with ^G)
1> c("c:/couchdb/src/couchdb/couch_file", [{outdir,
"c:/couchdb/src/couchdb/"}]).
{ok,couch_file}
2> couch_file.open("c:/test").
** exception error: bad function 'couch_file.open'

Thanks
Chong

Mime
View raw message