Add module version numbers to Perl modules that might need them

This commit is contained in:
Andrew Johnson
2025-10-19 16:25:36 -04:00
parent 3f382f6b68
commit 6e6cac09e1
3 changed files with 6 additions and 0 deletions

View File

@@ -5,6 +5,8 @@ use warnings;
use base 'Pod::Simple::HTML';
our $VERSION = '1.2.1';
sub encode_entities {
my ($self, $str) = @_;
my %entities = (

View File

@@ -7,6 +7,8 @@ use warnings;
use base 'Pod::Markdown';
our $VERSION = '1.1.1';
# Translate L<link text|filename/Section name>
# into <a href="filename.md#section-name">link text</a>#
# This is for Sphinx processing on Readthedocs. Sphinx converts

View File

@@ -5,6 +5,8 @@ use warnings;
use base 'Pod::Simple::XHTML';
our $VERSION = '1.2.1';
BEGIN {
if ($Pod::Simple::XHTML::VERSION < '3.16') {
# Add encode_entities() as a method