diff options
author | Ricardo Signes <rjbs@cpan.org> | 2013-04-13 13:29:15 +0100 |
---|---|---|
committer | Ricardo Signes <rjbs@cpan.org> | 2013-04-13 13:29:15 +0100 |
commit | e2b465aa5217f34c9e9aeace0ead2f3bcc1467d6 (patch) | |
tree | 2b3bb373070f45c1ec3c97a29f70fc260a373be0 | |
parent | c9296aca776071ae48966c0dbe9abe8a19e4a474 (diff) |
clarify docs for Mini->config_file
thanks, Jim Keenan!
-rw-r--r-- | Changes | 2 | ||||
-rw-r--r-- | lib/CPAN/Mini.pm | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -9,6 +9,8 @@ Revision history for CPAN-Mini Jeffrey Thalhammer, who waited a very very long time for me to apply this!) + die if local target isn't writable (suggested by SARGIE) + 1.111012 2013-03-28 16:32:58 America/New_York when testing, mock my_home harder (thanks, David Golden!) diff --git a/lib/CPAN/Mini.pm b/lib/CPAN/Mini.pm index 2c02a79..83c0d2f 100644 --- a/lib/CPAN/Mini.pm +++ b/lib/CPAN/Mini.pm @@ -775,13 +775,13 @@ sub read_config { =method config_file - my %config = CPAN::Mini->config_file( { options } ); + my $config_file = CPAN::Mini->config_file( { options } ); This routine returns the config file name. It first looks at for the C<config_file> setting, then the C<CPAN_MINI_CONFIG> environment variable, then the default F<~/.minicpanrc>, and finally the F<CPAN/Mini/minicpan.conf>. It uses the first defined value it finds. -If the filename it selects does not exist, it returns the empty list. +If the filename it selects does not exist, it returns false. OPTIONS is an optional hash reference of the C<CPAN::Mini> config hash. |