use CPANPLUS::Shell; # load the shell indicated by your
# config -- defaults to
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
DESCRIPTIONThis 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 REPORTSPlease report bugs or other issues to <[email protected]<gt>.
AUTHORThis module by Jos Boumans <[email protected]>.
COPYRIGHTThe CPAN++ interface (of which this module is a part of) is copyright (c) 2001 - 2007, Jos Boumans <[email protected]>. All rights reserved.
This library is free software; you may redistribute and/or modify it under the same terms as Perl itself.