extract couchdb triggers into own pm files
authorDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 30 Nov 2010 21:49:53 +0000 (22:49 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 30 Nov 2010 21:49:53 +0000 (22:49 +0100)
commitf6f884c13f556ab5e6e834d609fd6d72f6adf4db
tree573c12451265276a5d6bcc2f5328b1560a0a9d14
parent244d40d1b2c29af7b3c142e50ddb7a99cd136bc1
extract couchdb triggers into own pm files

this allows to specify database and trigger file to load on start as
arguments, e.g:

./couchdb-trigger.pl http://localhost:5984/drzb2011 trigger/email.pm
couchdb-trigger.pl
trigger/email.pm [new file with mode: 0644]
trigger/shell.pm [new file with mode: 0644]