In "/etc/couchdb/couch.ini":
[Couch Query Servers]
# ... other view servers, like text/javascript
# replace '/usr/local/bin' with the correct path on your machine
text/perl=/usr/local/bin/couchdb-view-server.pl
That's it! Errors will end up in the same place as other CouchDB
errors.
The rest of this document will only be of interest to people who
are subclassing CouchDB::View::Server.
All these methods perform the functions described at the view server wiki page
<http://wiki.apache.org/couchdb/ViewServer>.
CouchDB::View::Document CouchDB::View