Skip to content

docs: fix POD typos and syntax errors#76

Draft
Koan-Bot wants to merge 1 commit intogeofffranks:masterfrom
atoomic:koan.atoomic/fix-pod-typos
Draft

docs: fix POD typos and syntax errors#76
Koan-Bot wants to merge 1 commit intogeofffranks:masterfrom
atoomic:koan.atoomic/fix-pod-typos

Conversation

@Koan-Bot
Copy link
Copy Markdown

@Koan-Bot Koan-Bot commented Mar 13, 2026

What

Fix four POD documentation errors in MockModule.pm.

Why

  • unmock_all() docs reference Test::MockObject instead of Test::MockModule
  • Three method chaining examples use new->(...) which is invalid Perl — the extra -> dereferences the return value as a coderef instead of passing arguments to the constructor. Should be new(...)

Testing

./Build test — 103 tests pass, pod.t passes.

🤖 Generated with Claude Code


Quality Report

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

Code scan: clean

Tests: skipped

Branch hygiene: clean

Generated by Kōan post-mission quality pipeline

Fix Test::MockObject → Test::MockModule typo in unmock_all() docs.
Fix broken new->(...) method chain syntax in mock/redefine/define
examples — the extra -> after new would dereference the result as a
coderef instead of passing arguments to the constructor.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

1 participant