Tickit::Widgets - load several Tickit::Widget classes at once
Tickit::Widgets
use Tickit::Widgets qw( Static VBox HBox );
Equivalent to
use Tickit::Widget::Static; use Tickit::Widget::VBox; use Tickit::Widget::HBox;
This module provides an import utility to simplify code that uses many different Tickit::Widget subclasses. Instead of a use line per module, you can simply use this module and pass it the base name of each class. It will require each of the modules.
import
use
require
Note that because each Widget module should be a pure object class with no exports, this utility does not run the import method of the used classes.
An optional version check may be supplied using a = sign:
=
use Tickit::Widgets qw( HBox=0.48 VBox=0.48 );
Paul Evans <leonerd@leonerd.org.uk>
To install Tickit::Widgets, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tickit::Widgets
CPAN shell
perl -MCPAN -e shell install Tickit::Widgets
For more information on module installation, please visit the detailed CPAN module installation guide.