A three part think

Tatsuhiko Miyagawa miyagawa at gmail.com
Fri Oct 12 20:06:38 BST 2007


On 10/12/07, Jesse Vincent <jesse at fsck.com> wrote:
> > Part the third: Given a list of features in Perl - AUTOLOAD, Formats,
> > EXPORTER, pseudohashes, globs, typeglobs, BEGIN blocks, string eval,
> > etc - how easy would it be to work out what percentage of modules on
> > CPAN use those features?
>
> I'd recommend talking to Tatsuhiko about his cpan codesearch tool.

The site was made retired a while ago since gonzui [1], the search
engine process written by Ruby had been eating CPU like hell with many
modules like CPAN. Now the site just simply redirects your query to
Google code search equivalent.
http://cpansearch.bulknews.net/

> > Presumably something like PPI and MAD could help with the last two.

The gonzui perl script parser actually uses PPI to parse the script.
http://gonzui.cvs.sourceforge.net/gonzui/langscan/langscan/perl/tokenizer.pl?revision=1.1.1.1&view=markup

[1] http://gonzui.sourceforge.net/index.html.en

-- 
Tatsuhiko Miyagawa


More information about the london.pm mailing list