Modules

  • ABCDE
  • FGHIL
  • MNOPS
  • TUX

Tools

CPANPLUS::Shell::Default::Plugins::CustomSource

Perl 5 version 18.2 documentation
Recently read

CPANPLUS::Shell::Default::Plugins::CustomSource

NAME

CPANPLUS::Shell::Default::Plugins::CustomSource - add custom sources to CPANPLUS

SYNOPSIS

  1. ### elaborate help text
  2. CPAN Terminal> /? cs
  3. ### add a new custom source
  4. CPAN Terminal> /cs --add file:///path/to/releases
  5. ### list all your custom sources by
  6. CPAN Terminal> /cs --list
  7. ### display the contents of a custom source by URI or ID
  8. CPAN Terminal> /cs --contents file:///path/to/releases
  9. CPAN Terminal> /cs --contents 1
  10. ### Update a custom source by URI or ID
  11. CPAN Terminal> /cs --update file:///path/to/releases
  12. CPAN Terminal> /cs --update 1
  13. ### Remove a custom source by URI or ID
  14. CPAN Terminal> /cs --remove file:///path/to/releases
  15. CPAN Terminal> /cs --remove 1
  16. ### Write an index file for a custom source, to share
  17. ### with 3rd parties or remote users
  18. CPAN Terminal> /cs --write file:///path/to/releases
  19. ### Make sure to save your sources when adding/removing
  20. ### sources, so your changes are reflected in the cache:
  21. CPAN Terminal> x

DESCRIPTION

This is a CPANPLUS::Shell::Default plugin that can add custom sources to your CPANPLUS installation. This is a wrapper around the custom module sources code as outlined in CUSTOM MODULE SOURCES in CPANPLUS::Backend.

This allows you to extend your index of available modules beyond what's available on CPAN with your own local distributions, or ones offered by third parties.