Data::Section::TestBase - Parse Test::Base format from DATA section
use Data::Section::TestBase; my @blocks = blocks;
This module parse a DATA section as Test::Base format by Text::TestBase.
Get a list of blocks from the DATA section. The elements of @list are instances of Text::TestBase::Block. If section_name is provided, only return blocks that have a section with that name.
section_name
To install Text::TestBase, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::TestBase
CPAN shell
perl -MCPAN -e shell install Text::TestBase
For more information on module installation, please visit the detailed CPAN module installation guide.