<div dir="ltr">Sweet, Thanks :)</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 7 October 2013 03:54, SundaraRaman R <span dir="ltr"><<a href="mailto:sundaryourfriend@gmail.com" target="_blank">sundaryourfriend@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Huh, I went searching for something else, and coincidentally came across a <a href="https://github.com/CPAN-API/cpan-api/wiki/FAQ#can-i-automatically-redirect-links-pointing-at-searchcpanorg-to-metacpanorg" target="_blank">related FAQ</a> right after sending this: <br>


<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><p>For Chrome users, the <a href="https://chrome.google.com/webstore/detail/metacpan-helper/aoioenbjpmccpkincghhjfmeceknpcnb" target="_blank">MetaCPAN Helper</a> extension will automatically rewrite <a href="http://search.cpan.org" target="_blank">search.cpan.org</a> links to MetaCPAN.</p>




<p>You can accomplish the same thing by modifying your <code>hosts</code> file. Add the following lines and all links to <a href="http://search.cpan.org" target="_blank">search.cpan.org</a> (and links to source code) will be redirected to MetaCPAN:</p>




<pre><code>46.43.35.68 <a href="http://search.cpan.org" target="_blank">search.cpan.org</a>
46.43.35.68 <a href="http://cpansearch.perl.org" target="_blank">cpansearch.perl.org</a>
</code></pre>

<p>If you do this, be sure to point cpanm to another mirror, as it defaults to <a href="http://search.cpan.org" target="_blank">search.cpan.org</a>. Here's how:</p>

<pre><code>export PERL_CPANM_OPT="--mirror <a href="http://www.cpan.no/" target="_blank">http://www.cpan.no/</a>" # Insert your closest mirror here. 
</code></pre></blockquote><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">HTH, <br>Sundar<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">


<br><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Oct 7, 2013 at 3:43 AM, SundaraRaman R <span dir="ltr"><<a href="mailto:sundaryourfriend@gmail.com" target="_blank">sundaryourfriend@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Long ago (ok, more like a month ago), I'd lamented the fact that Google and most other places link us to <a href="http://cpan.org" target="_blank">cpan.org</a> pages of modules rather than the much better <a href="http://metacpan.org" target="_blank">metacpan.org</a> pages, in a thread here. I came across <a href="http://perlhacks.com/2013/01/give-me-metacpan/" target="_blank">this blog post</a> while searching for a solution to this today, which led me to this script: <br>



<a href="http://userscripts.org/scripts/show/157649" target="_blank">CPAN to METACPAN</a> - "Spot CPAN pages and automagically redirect to METACPAN equivalent". It's a Greasemonkey userscript, so needs Greasemonkey installed on your Firefox first (will probably work on Chrome too with the Tampermonkey addon, haven't tried it there). <br>



<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">It adds a few seconds delay to the pageload time due to the extra redirects, but I'm sufficiently Lazy that this is worth it. :) Hope someone else here finds this useful too.  <br>



</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Cheers, <br>Sundar<span><font color="#888888"><br clear="all">


</font></span></div><span><font color="#888888"><br>
-- <br>! Knowing others is intelligence; knowing yourself is true wisdom. Mastering others is strength; mastering yourself is true power. <br><font face="arial, sans-serif"><span style="line-height:15px"><a href="http://www.google.com/profiles/sundaryourfriend" target="_blank">http://www.google.com/profiles/sundaryourfriend</a></span></font><div>



<font face="arial, sans-serif"><span style="line-height:15px"><br></span></font></div>
</font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br>! Knowing others is intelligence; knowing yourself is true wisdom. Mastering others is strength; mastering yourself is true power. <br><font face="arial, sans-serif"><span style="line-height:15px"><a href="http://www.google.com/profiles/sundaryourfriend" target="_blank">http://www.google.com/profiles/sundaryourfriend</a></span></font><div>


<font face="arial, sans-serif"><span style="line-height:15px"><br></span></font></div>
</div>
</div></div><br>_______________________________________________<br>
Bangalore-pm mailing list<br>
<a href="mailto:Bangalore-pm@pm.org">Bangalore-pm@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/bangalore-pm" target="_blank">http://mail.pm.org/mailman/listinfo/bangalore-pm</a><br></blockquote></div><br></div>