diff options
| author | franck cuny <franck@lumberjaph.net> | 2010-09-10 23:25:10 +0200 |
|---|---|---|
| committer | franck cuny <franck@lumberjaph.net> | 2010-09-10 23:25:10 +0200 |
| commit | 0afbfaee75e8480e8e0ed0a3bbd3749a4756f727 (patch) | |
| tree | f9e4d91866060661d53c50c66973fcd20600983f /_posts/2009-07-07-cpan-and-auto-install.textile | |
| download | lumberjaph-0afbfaee75e8480e8e0ed0a3bbd3749a4756f727.tar.gz | |
initial import
Diffstat (limited to '_posts/2009-07-07-cpan-and-auto-install.textile')
| -rw-r--r-- | _posts/2009-07-07-cpan-and-auto-install.textile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/_posts/2009-07-07-cpan-and-auto-install.textile b/_posts/2009-07-07-cpan-and-auto-install.textile new file mode 100644 index 0000000..d79f6c0 --- /dev/null +++ b/_posts/2009-07-07-cpan-and-auto-install.textile @@ -0,0 +1,13 @@ +--- +layout: post +category: perl +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: + +bc. PERL_MM_USE_DEFAULT=1 cpan Catalyst KiokuDB + +and your done. |
