Data::Grid::Container - Generic superclass for Data::Grid containers
Version 0.06
package Data::Grid::Foo; use Moo; extends 'Data::Grid::Container'; # Now code some specific stuff...
The data grid in Data::Grid is modeled as an ordered tree of tables, rows and cells, all contained inside a bundle. This module encapsulates the common behaviour of these components.
This basic constructor takes three arguments: the parent object, a numeric position amongst its siblings, beginning with 0, and an optional proxy object to manipulate directly, if it is necessary or advantageous to do so.
Retrieve the parent object.
The position of the object in a list of its siblings, starting with 0.
Whatever object or value the container is proxying.
This is a stub to hook up a serialization method to the string overload. Fill it in at your leisure, otherwise it is a no-op.
Dorian Taylor, <dorian at cpan.org>
<dorian at cpan.org>
Data::Grid
Data::Grid::Table
Data::Grid::Row
Data::Grid::Cell
Copyright 2010-2018 Dorian Taylor.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
To install Data::Grid, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Grid
CPAN shell
perl -MCPAN -e shell install Data::Grid
For more information on module installation, please visit the detailed CPAN module installation guide.