From 4b8e43f75b394a4e6169884fbfb4c606865c6a22 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 2 Jul 2016 20:06:31 -0700 Subject: Import migration from Jekyll to Hugo. All the posts were converted, and the layout is created. This looks like it works just fine. --- content/post/2009-07-07-cpan-and-auto-install.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 content/post/2009-07-07-cpan-and-auto-install.md (limited to 'content/post/2009-07-07-cpan-and-auto-install.md') diff --git a/content/post/2009-07-07-cpan-and-auto-install.md b/content/post/2009-07-07-cpan-and-auto-install.md new file mode 100644 index 0000000..b877c84 --- /dev/null +++ b/content/post/2009-07-07-cpan-and-auto-install.md @@ -0,0 +1,9 @@ +--- +date: 2009-07-07T00:00:00Z +summary: In which I show how to auto answer questions asked by cpan +title: CPAN and auto-install +--- + +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. -- cgit v1.2.3