Grid::Layout::Area
Grid::Layout::Render iterate over an Grid::Layout and call appropriate call backs so as to render the grid on a device.
Grid::Layout::Render
use Grid::Layout; my $gl = Grid::Layout->new(…); Grid::Layout::Render::top_to_bottom_left_to_right( $gl, sub { # call back for next horizontal L<< track|Grid::Layout::Track >>. my vertical_track = shift; }, sub { # call back for each L<< cell|Grid::Layout::Cell> in the horizontal track my $cell = shift; }, sub { # call back when a horizontal track is finished my vertical_track = shift; } );
To install Grid::Layout, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Grid::Layout
CPAN shell
perl -MCPAN -e shell install Grid::Layout
For more information on module installation, please visit the detailed CPAN module installation guide.