Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Perl Utility Library for my other repos

License

NotificationsYou must be signed in to change notification settings

HariSekhon/lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub starsGitHub forksLineCountCocomoLicenseMy LinkedInGitHub Last Commit

Codacy BadgeCodeFactorSonarCloudQuality Gate StatusMaintainability RatingReliability RatingSecurity RatingVulnerabilities

LinuxMacDockerDockerfileDockerHub PullsDockerHub Build Automated

CI Builds OverviewJenkinsConcourseGoCDTeamCity

CircleCIBuildKiteAppVeyorDroneCodefreshCirrus CISemaphoreBuddyShippableTravis CI

Azure DevOpsGitLab PipelineBitBucket PipelineAWS CodeBuildGCP Cloud Build

Repo on GitHubRepo on GitLabRepo on Azure DevOpsRepo on BitBucket

ShellCheckJSONYAMLXMLMarkdownValidationKicsGrypeSemgrepSemgrep CloudTrivy

GitHub Actions UbuntuMacMac 11Mac 12UbuntuUbuntu 20.04Ubuntu 22.04DebianDebian 10Debian 11Debian 12CentOSCentOS 7CentOS 8FedoraAlpineAlpine 3

Perl versionsPerl

Perl library, full of lots of validation code and utility functions.

Needed for a lot of the programs I've written over the years. In fact my current main library was actually cobbled together from lots of pieces of code I wrote over the years since I found myself reusing common things over and over. This drastically reduces the amount of code and effort required to write new robust well validated code which is why it's used extensively throughout the portions of code you'll find on my GitHub account, especially all the Advanced Nagios Plugins Collection which I've been developing for many years since 2006

Hari Sekhon

Cloud & Big Data Contractor, United Kingdom

My LinkedIn
(you're welcome to connect with me on LinkedIn)

Build + Unit Tests

make&&maketest

Continuous Integration is run on this repo to build and unit test it (Test::More, almost 800 unit tests).

Configuration

Strict validations include host/domain/FQDNs using TLDs which are populated from the official IANA list, a snapshot of which is shipped as part of this project.

To update the bundled official IANA TLD list with the latest valid TLDs do

make tld

Custom TLDs

If using bespoke internal domains such as.local,.intranet,.vm,.cloud etc. that aren't part of the official IANA TLD list then this is additionally supported via a custom configuration fileresources/custom_tlds.txt containing one TLD per line, with support for # comment prefixes. Just add your bespoke internal TLD to the file and it will then pass the host/domain/fqdn validations.

IO::Socket::SSL doesn't respect ignoring self-signed certs in recent version(s) eg. 2.020

Recent version(s) of IO::Socket::SSL (2.020) seem to fail to respect options to ignore self-signed certs. The workaround is to create the hidden touch file below in the same top-level directory as the library to make it include and use Net::SSL instead of IO::Socket::SSL.

touch .use_net_ssl

Related Repositories

Python and Java ports of this library can be found below - both with higher levels of code coverage testing:

git.io/perl-lib

More Core Repos

Knowledge

Readme CardReadme Card

DevOps Code

Readme CardReadme CardReadme CardReadme Card

Containerization

Readme CardReadme Card

CI/CD

Readme CardReadme Card

DBA - SQL

Readme Card

DevOps Reloaded

Readme CardReadme CardReadme CardReadme CardReadme Card

Templates

Readme CardReadme Card

Misc

Readme CardReadme Card

The rest of my original source repos arehere.

Pre-built Docker images are available on myDockerHub.


[8]ページ先頭

©2009-2025 Movatter.jp