App::CPAN2Pkg::Curses - curses user interface for cpan2pkg
App::CPAN2Pkg::Curses implements a POE session driving a curses interface for cpan2pkg.
App::CPAN2Pkg::Curses
cpan2pkg
It is spawned directly by cpan2pkg (since Curses::UI::POE is a bit special regarding the event loop), and is responsible for launching the application controller (see App::CPAN2Pkg).
Curses::UI::POE
App::CPAN2Pkg
This method will create a POE session responsible for creating the curses UI and reacting to it.
It will return a Curses::UI::POE object.
You can tune the session by passing some arguments as a hash reference, where the hash keys are:
modules => \@list_of_modules
A list of modules to start packaging.
The following events are the module's API.
Update the specific part of the ui devoluted to $module with an additional $line.
$module
$line
Sent when $module is available. Updating list of modules to reflect this new status.
Sent when a new module has been requested to be packaged. The argment $module is a App::CPAN2Pkg::Module object with all the needed information.
App::CPAN2Pkg::Module
Update the missing @prereqs of $module in the ui.
@prereqs
For all related information (bug reporting, source code repository, etc.), refer to App::CPAN2Pkg's pod, section SEE ALSO.
SEE ALSO
Jerome Quelin, <jquelin@cpan.org>
<jquelin@cpan.org>
Copyright (c) 2009 Jerome Quelin, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install App::CPAN2Pkg, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::CPAN2Pkg
CPAN shell
perl -MCPAN -e shell install App::CPAN2Pkg
For more information on module installation, please visit the detailed CPAN module installation guide.