Skip to content

fix: modernize Hole.pm preamble and fix POD typos#13

Merged
toddr merged 1 commit intocpan-authors:mainfrom
toddr-bot:koan.toddr.bot/modernize-hole-pm
Mar 22, 2026
Merged

fix: modernize Hole.pm preamble and fix POD typos#13
toddr merged 1 commit intocpan-authors:mainfrom
toddr-bot:koan.toddr.bot/modernize-hole-pm

Conversation

@toddr-bot
Copy link
Collaborator

@toddr-bot toddr-bot commented Mar 21, 2026

What

Modernize the module preamble and fix documentation typos.

Why

require 5.005 contradicts MIN_PERL_VERSION => '5.014' in Makefile.PL — the in-code version requirement should match the build system. While at it, enable use warnings and replace use vars with our (both available since 5.6, well within the 5.014 floor).

How

  • require 5.005use 5.014 (matches Makefile.PL)
  • Added use warnings
  • use vars qw(...)our declarations
  • Fixed 5 POD typos: dinamically→dynamically, occured→occurred, constrtucted→constructed, refered→referred, assuption→assumption

Testing

Full test suite passes (84 tests, 5 files) on Perl 5.42.

🤖 Generated with Claude Code


Quality Report

Changes: 1 file changed, 11 insertions(+), 15 deletions(-)

Code scan: clean

Tests: passed (OK)

Branch hygiene: clean

Generated by Kōan post-mission quality pipeline

- require 5.005 → use 5.014 to match MIN_PERL_VERSION in Makefile.PL
- Add 'use warnings' for better diagnostics
- Replace 'use vars' with 'our' (available since Perl 5.6)
- Fix POD typos: dinamically, occured, constrtucted, refered, assuption

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@toddr toddr marked this pull request as ready for review March 22, 2026 02:24
@toddr toddr merged commit 3da77d9 into cpan-authors:main Mar 22, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants