Skip to content

Commit 760d11a

Browse files
committed
Add change log and comments for autodie changes
Add comments about not using autodie in the build system. Add a change log entry for the autodie changes. Remove now-unneeded perlcritic comments from pod2text.PL.
1 parent 260f787 commit 760d11a

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

Changes

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
Revision history for podlators
22

3+
v6.0.1 - 2024-07-12
4+
5+
- Remove autodie from the module build process. When built as part of
6+
Perl core, podlators is built before autodie is available. Thanks to
7+
James E Keenan for the report and a draft patch. (GitHub #33)
8+
39
v6.0.0 - 2024-07-10
410

511
- Drop support for Perl 5.10. podlators now requires Perl 5.12 or later.

Makefile.PL

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
#
1313
# SPDX-License-Identifier: GPL-1.0-or-later OR Artistic-1.0-Perl
1414

15+
# Do not use autodie here. When podlators is built as part of Perl core, it
16+
# is built before autodie is available.
1517
use 5.012;
1618
use warnings;
1719

scripts/pod2man.PL

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
# required for proper start-up code on non-UNIX platforms, and is used inside
55
# Perl core.
66

7+
# Do not use autodie here. When podlators is built as part of Perl core, it
8+
# is built before autodie is available.
79
use 5.012;
810
use warnings;
911

scripts/pod2text.PL

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
# required for proper start-up code on non-UNIX platforms, and is used inside
55
# Perl core.
66

7+
# Do not use autodie here. When podlators is built as part of Perl core, it
8+
# is built before autodie is available.
79
use 5.012;
810
use warnings;
911

@@ -26,11 +28,8 @@ if ($^O eq 'VMS') {
2628
}
2729

2830
# Create the generated script.
29-
## no critic (InputOutput::RequireBriefOpen)
30-
## no critic (InputOutput::RequireCheckedSyscalls)
3131
open(my $out, '>', $file) or die "Cannot create $file: $!\n";
3232
print "Extracting $file (with variable substitutions)\n";
33-
## use critic
3433

3534
# In this section, Perl variables will be expanded during extraction. You can
3635
# use $Config{...} to use Configure variables.

0 commit comments

Comments
 (0)