---
name: "CPANPLUS::Shell"
section: "3perl"
platform: "linux"
package: "perl-doc"
version: "5.14.2-21+deb7u3"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/CPANPLUS::Shell"
---

# CPANPLUS::Shell(3perl)

base class for CPANPLUS shells

## NAME

CPANPLUS::Shell - base class for CPANPLUS shells

## SYNOPSIS

```
    use CPANPLUS::Shell;             # load the shell indicated by your
                                     # config -- defaults to
                                     # CPANPLUS::Shell::Default
    use CPANPLUS::Shell qw[Classic]  # load CPANPLUS::Shell::Classic;
    my $ui      = CPANPLUS::Shell->new();
    my $name    = $ui->which;        # Find out what shell you loaded
    $ui->shell;                      # run the ui shell
```

## DESCRIPTION

This module is the generic loading (and base class) for all `"CPANPLUS"` shells. Through this module you can load any installed `"CPANPLUS"` shell.

Just about all the functionality is provided by the shell that you have loaded, and not by this class (which merely functions as a generic loading class), so please consult the documentation of your shell of choice.

## 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::Default, CPANPLUS::Shell::Classic, cpanp
