a Grid::Layout::Track is the space between to adjacent Grid::Layout::Lines.
Grid::Layout::Track
Usually, a horizontal track is referred to as a row, a vertical track as a column.
Creates a Grid::Layout::Track. Should not be called by the user. The constructor is called by "add_track" in Grid::Layout instead.
Returns the line to the left of the track.
Only applicable if the track is vertical ($self->{V_or_H} eq 'V').
$self->{V_or_H} eq 'V'
Returns the line to the right of the track.
Returns the line above the track.
Only applicable if the track is vertical ($self->{V_or_H} eq 'H').
$self->{V_or_H} eq 'H'
Returns the line beneath the track.
my @cells = $track->cells();
Return an array of the cells in the track.
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.