summaryrefslogtreecommitdiff
path: root/posts/2009-07-07-cpan-and-auto-install.org
diff options
context:
space:
mode:
Diffstat (limited to 'posts/2009-07-07-cpan-and-auto-install.org')
-rw-r--r--posts/2009-07-07-cpan-and-auto-install.org10
1 files changed, 10 insertions, 0 deletions
diff --git a/posts/2009-07-07-cpan-and-auto-install.org b/posts/2009-07-07-cpan-and-auto-install.org
new file mode 100644
index 0000000..4523043
--- /dev/null
+++ b/posts/2009-07-07-cpan-and-auto-install.org
@@ -0,0 +1,10 @@
+When you install a module from the [[http://search.cpan.org][CPAN]], and
+this module requires other modules, the cpan shell will ask you if you
+want to install them. When you are installing
+[[http://www.catalystframework.org/][Catalyst]], 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.