<div>If you type:<br></div><div><br></div><div>$ cpan</div><div><br></div><div>by itself, to install a module you then need to type at the cpan prompt "install X"</div><div><br></div><div>cpan> install X</div>
<div><br></div><div>But typing:</div><div><br></div><div>$ cpan install X</div><div><br></div><div>first tries to find module 'install' then module 'X'. This is counterintuitive, especially as module X is some weird JUNOSCRIPT module with lots of dependencies.</div>
<div><br></div><div><a href="http://blog.unixwiz.net/2005/09/dumb_software_c.html">http://blog.unixwiz.net/2005/09/dumb_software_c.html</a><br></div><div><br></div><div>While CPAN was one of the earlier tools, the many other tools (yum, apt-get) take "install X" to be something sensible.</div>
<div><br></div><div>As the poster of the unixwiz points out, "install" should be explicitly ignored by cpan.</div><div><br></div><div>M. <br clear="all">--<br>Martin@Cleaver.org<br><a href="http://twitter.com/mrjcleaver">http://twitter.com/mrjcleaver</a><br>
+1 416-786-6752 (GMT-5)<br><br>
<br><br><div class="gmail_quote">On Mon, Mar 16, 2009 at 3:09 PM, Fulko Hew <span dir="ltr"><<a href="mailto:fulko.hew@gmail.com">fulko.hew@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br><div class="gmail_quote"><div class="im">On Mon, Mar 16, 2009 at 3:05 PM, David Golden <span dir="ltr"><<a href="mailto:xdaveg@gmail.com" target="_blank">xdaveg@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
<div>On Mon, Mar 16, 2009 at 2:10 PM, Fulko Hew <<a href="mailto:fulko.hew@gmail.com" target="_blank">fulko.hew@gmail.com</a>> wrote:<br>
> Yup. I've got it fixed. (but now I have to do a 'cpan -i xxx' rather than<br>
> 'cpan install xxx')<br>
<br>
</div>From the command line, you can just do "cpan XXX".<br>
<br>
"cpan install XXX" used to try to install "<a href="http://install.pm" target="_blank">install.pm</a>" as well as<br>
"XXX' -- I think there might finally be an explicit workaround, but<br>
I'm not sure.<br>
<font color="#888888"></font></blockquote></div><div><br>Thats OK. I just have to 're-adjust my thinking'. :-)<br></div></div>
<br>_______________________________________________<br>
toronto-pm mailing list<br>
<a href="mailto:toronto-pm@pm.org">toronto-pm@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/toronto-pm" target="_blank">http://mail.pm.org/mailman/listinfo/toronto-pm</a><br>
<br></blockquote></div><br></div>