Utility modules written in Perl, for Perl.
- Author: Ethan Kletschke
- Version:
0.0.8 - Developed on: Ubuntu (WSL)
- License: MIT
- Project metadata file:
project.yaml
PerlUtils is a library of Perl modules (created mostly as a skills reference) that currently provides utility subroutines for text-file handling and array handling, and is planned to also provide OS subroutines (i.e., making directories, running specific utility commands, etc.), text processing subroutines, and other
- Various utility subroutines aimed at simplifing Perl programs
- Array subroutines (planned), such as:
is_empty()clear()populate()
- Mathematical set subroutines (i.e.,
union(),intersection(), etc.) - Text processing subroutines
- Array subroutines (planned), such as:
- Extensive POD documentation validated with CI/CD (using
podchecker) - Comprehensive
Test::Moretesting suite run withprove - Bash scripts that run the testing suite and validate POD documentation
To run the module tests, navigate to the src/ directory and run the following command:
prove -lv t/*Or in the root directory of the project, run the provided Bash script:
./RunUnitTests.shBoth will run the provided module tests in the src/t/ directory using prove.
To validate the project's POD documentation, run this in the project's root directory:
find src -type f -name '*.pm' -exec podchecker {} \;This will:
- Find every Perl module file ending with
.pm - Execute the
podcheckercommand against each.pmfile - Display the output of the validation for each file
Alternatively, you can also run the provided Bash script:
./ValidatePod.sh