CPANPLUS::AdHoc::Default::CPAN::CPANPLUS - Get the default CPAN from CPANPLUS
use CPANPLUS::AdHoc::Default::CPAN::CPANPLUS; print CPANPLUS::AdHoc::Default::CPAN::CPANPLUS->get_default();
This utility class retrieves a CPANPLUS CPAN from the user's CPANPLUS configuration. This is the first file: CPAN in the hosts parameter. If there is no file: CPAN, it is the first CPAN whatever the scheme.
file:
hosts
This class supports the following public methods:
This static method returns the user's CPANPLUS repository CPAN. If the repository CPAN can not be determined, nothing is returned.
CPANPLUS.
Support is by the author. Please file bug reports at http://rt.cpan.org, or in electronic mail to the author.
Thomas R. Wyant, III wyant at cpan dot org
Copyright (C) 2012-2014 by Thomas R. Wyant, III
This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5.10.0. For more details, see the full text of the licenses in the directory LICENSES.
This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.
To install CPAN::Access::AdHoc, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CPAN::Access::AdHoc
CPAN shell
perl -MCPAN -e shell install CPAN::Access::AdHoc
For more information on module installation, please visit the detailed CPAN module installation guide.