SYNOPSIS

$ cpan-mirror-tiny-server [options] [base directory]

Options are the same as plackup. Type `perldoc plackup` for the details.
  ex: --port, --host, --server, --env, ...

Examples:
# start
$ cpan-mirror-server ./repository
$ cpan-mirror-server --port 8080 --server Starman ./repository

# upload
$ curl --data-urlencode 'module=git://github.com/skaji/Carl.git' \
  --data-urlencode 'author=SKAJI' http://localhost:5000/upload

# install
$ cpanm --mirror http://localhost:5000 --mirror http://www.cpan.org Carl