Modules

  • ABCDE
  • FGHIL
  • MNOPS
  • TUX

Tools

CPANPLUS::Shell::Default

Perl 5 version 18.0 documentation
Recently read

CPANPLUS::Shell::Default

NAME

CPANPLUS::Shell::Default - the default CPANPLUS shell

SYNOPSIS

  1. ### loading the shell:
  2. $ cpanp # run 'cpanp' from the command line
  3. $ perl -MCPANPLUS -eshell # load the shell from the command line
  4. use CPANPLUS::Shell qw[Default]; # load this shell via the API
  5. # always done via CPANPLUS::Shell
  6. my $ui = CPANPLUS::Shell->new;
  7. $ui->shell; # run the shell
  8. $ui->dispatch_on_input( input => 'x'); # update the source using the
  9. # dispatch method
  10. ### when in the shell:
  11. ### Note that all commands can also take options.
  12. ### Look at their underlying CPANPLUS::Backend methods to see
  13. ### what options those are.
  14. cpanp> h # show help messages
  15. cpanp> ? # show help messages
  16. cpanp> m Acme # find acme modules, allows regexes
  17. cpanp> a KANE # find modules by kane, allows regexes
  18. cpanp> f Acme::Foo # get a list of all releases of Acme::Foo
  19. cpanp> i Acme::Foo # install Acme::Foo
  20. cpanp> i Acme-Foo-1.3 # install version 1.3 of Acme::Foo
  21. cpanp> i <URI> # install from URI, like ftp://foo.com/X.tgz
  22. cpanp> i <DIR> # install from an absolute or relative directory
  23. cpanp> i 1 3..5 # install search results 1, 3, 4 and 5
  24. cpanp> i * # install all search results
  25. cpanp> a KANE; i *; # find modules by kane, install all results
  26. cpanp> t Acme::Foo # test Acme::Foo, without installing it
  27. cpanp> u Acme::Foo # uninstall Acme::Foo
  28. cpanp> d Acme::Foo # download Acme::Foo
  29. cpanp> z Acme::Foo # download & extract Acme::Foo, then open a
  30. # shell in the extraction directory
  31. cpanp> c Acme::Foo # get a list of test results for Acme::Foo
  32. cpanp> l Acme::Foo # view details about the Acme::Foo package
  33. cpanp> r Acme::Foo # view Acme::Foo's README file
  34. cpanp> o # get a list of all installed modules that
  35. # are out of date
  36. cpanp> o 1..3 # list uptodateness from a previous search
  37. cpanp> s conf # show config settings
  38. cpanp> s conf md5 1 # enable md5 checks
  39. cpanp> s program # show program settings
  40. cpanp> s edit # edit config file
  41. cpanp> s reconfigure # go through initial configuration again
  42. cpanp> s selfupdate # update your CPANPLUS install
  43. cpanp> s save # save config to disk
  44. cpanp> s mirrors # show currently selected mirrors
  45. cpanp> ! [PERL CODE] # execute the following perl code
  46. cpanp> b # create an autobundle for this computers
  47. # perl installation
  48. cpanp> x # reload index files (purges cache)
  49. cpanp> x --update_source # reload index files, get fresh source files
  50. cpanp> p [FILE] # print error stack (to a file)
  51. cpanp> v # show the banner
  52. cpanp> w # show last search results again
  53. cpanp> q # quit the shell
  54. cpanp> e # exit the shell and reload
  55. cpanp> /plugins # list available plugins
  56. cpanp> /? PLUGIN # list help test of <PLUGIN>
  57. ### common options:
  58. cpanp> i ... --skiptest # skip tests
  59. cpanp> i ... --force # force all operations
  60. cpanp> i ... --verbose # run in verbose mode

DESCRIPTION

This module provides the default user interface to CPANPLUS . You can start it via the cpanp binary, or as detailed in the SYNOPSIS.

BUG REPORTS

Please report bugs or other issues to <bug-cpanplus@rt.cpan.org<gt>.

AUTHOR

This module by Jos Boumans <kane@cpan.org>.

COPYRIGHT

The CPAN++ interface (of which this module is a part of) is copyright (c) 2001 - 2007, Jos Boumans <kane@cpan.org>. All rights reserved.

This library is free software; you may redistribute and/or modify it under the same terms as Perl itself.

SEE ALSO

CPANPLUS::Shell::Classic, CPANPLUS::Shell, cpanp