# NAME

Daje::Tools::Datasections - It's new $module

# SYNOPSIS

    use Daje::Tools::Datasections;

# DESCRIPTION

Daje::Tools::Datasections is ...

# LICENSE

Copyright (C) Jan Eskilsson.

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.

# AUTHOR

Jan Eskilsson <janeskil1525@gmail.com>

# NAME

Daje::Tools::Datasections

# DESCRIPTION

Data::Load::Datasection  - Load and keep data sections from named \*.pm

# REQUIRES

[Mojo::Loader](https://metacpan.org/pod/Mojo%3A%3ALoader) 

[v5.40](https://metacpan.org/pod/v5.40) 

[Mojo::Base](https://metacpan.org/pod/Mojo%3A%3ABase) 

# 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');

# Abstract

Get and store data sections from perl classes

# 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.