2010年8月23日 星期一

cpansearch (cpans)

cpansearch is written in C, cpansearch is going to add some ncurses ui, just like debian aptitude.

http://github.com/c9s/cpansearch

cpansearch usage:

init source data file:

$ cpans -f http://cpan.nctu.edu.tw/

update source data file:

$ cpans -u

search module

$ cpans Any::

to search (ignore case)

$ cpans -i ::server

show module names only:

$ cpans -n Any::

pipe to cpanminus to install modules:

$ cpans -n Any:: | cpanm