summaryrefslogtreecommitdiff
path: root/posts/2009-07-07-cpan-and-auto-install.md
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2016-08-10 14:33:04 -0700
committerFranck Cuny <franck.cuny@gmail.com>2016-08-10 20:17:56 -0700
commit8d7d02f42c3947f756c18cb4d37d9d97fbd0d27d (patch)
treea6cecddaaea7e87d901a6c28bebe3a531438f24b /posts/2009-07-07-cpan-and-auto-install.md
parentMerge branch 'convert-to-org' (diff)
downloadlumberjaph-8d7d02f42c3947f756c18cb4d37d9d97fbd0d27d.tar.gz
convert back to md
Diffstat (limited to 'posts/2009-07-07-cpan-and-auto-install.md')
-rw-r--r--posts/2009-07-07-cpan-and-auto-install.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/posts/2009-07-07-cpan-and-auto-install.md b/posts/2009-07-07-cpan-and-auto-install.md
new file mode 100644
index 0000000..776c588
--- /dev/null
+++ b/posts/2009-07-07-cpan-and-auto-install.md
@@ -0,0 +1,3 @@
+When you install a module from the [CPAN](http://search.cpan.org), and this module requires other modules, the cpan shell will ask you if you want to install them. When you are installing [Catalyst](http://www.catalystframework.org/), it may take a while, and you may not want to spend your afternoon in front of the prompt answering "yes" every 5 seconds.
+
+The solution is to set the environment variable **PERL\_MM\_USE\_DEFAULT**. Next time you want to install a big app: `PERL_MM_USE_DEFAULT=1 cpan Catalyst KiokuDB` and your done.