Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Deep recursion on anonymous subroutine at ../5.22.0/Dancer2/Core/App.pm line 1177.

Open
#1,466 5 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
perl
Domain
backend

Research direction

Start in Dancer2/Core/App.pm around line 1177, especially the compile_hooks function and its eval call. Reproduce the deep recursion while sending mail with Perl-Maven's bin/sendmail.pl script, then trace the hook invocation to determine whether the cause is in Dancer2 or the caller. Done means the cause and an actionable fix or reproduction are established.

Written by the indexing model from the issue text.

Description

Enhancement

It is the 'eval { $EVAL_SHIM->($hook,@_); 1; }' line in the 'compile_hooks' function in version 0.206000.

I still could not figure out what causes it and if the problem is in my code or in Dancer2, I just wanted to record the issue and will update it when I understand it better. (I see this when I send out e-mails using the bin/sendmail.pl script in https://github.com/szabgab/Perl-Maven )

Dominant language
Perl
Stars
604
Forks
290
Avg merge
2d 23h
Merged PRs (30d)
3

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PerlDancer/Dancer2

All issues in PerlDancer/Dancer2

Similar issues

More Perl issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.