Using AND metacpan

I appreciate the effort and openness of metacpan, but their search is still pretty bad. To be clear, compare the results of the search for DBIx:Class::Source on SCO and metacpan. That’s why I made the following greasemonkey/dotjs script:

   var obj = $(this);
   var href = obj.attr('href');
   var re = new RegExp('^/~([^/]+)/(.*)$');
   this.href = href.replace(re, '$1/$2');

Put this in ~/.js/ to install it with dotjs. Feel free to extend it to work for more than just modules.

Posted Wed, May 16, 2012

Receive Blog Posts in Your Email