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

v5.40

Mojo::Base

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.