NAME
lib::Daje::Generate::Tools::Datasections - lib::Daje::Generate::Tools::Datasections
DESCRIPTION
Data::Load::Datasection - Load and keep data sections from named *.pm
REQUIRES
Daje::Generate::Templates::Perl
Daje::Generate::Templates::Sql
METHODS
Get one section of loaded data my $c1 = $data->get_data_section('c1'); Add a section of data $data->set_data_section('new_section', 'section data'); Set a new source $data->set_source('New::Source'); Add a new section to load $data->add_data_section('test');
Synopsis
use GenerateSQL::Tools::Datasections
my $data = GenerateSQL::Tools::Datasections->new( data_sections => ['c1','c2','c3'], source => 'Class::Containing::Datasections )->load_data_sections();
AUTHOR
Jan Eskilsson
COPYRIGHT
Copyright (C) 2024 Jan Eskilsson.
LICENSE
Generate::Tools::Datasections (the distribution) is licensed under the same terms as Perl.