http://www.perlmonks.org?node_id=1202615


in reply to Re^3: coderef for 1 .. 2?
in thread coderef for 1 .. 2?

Thanks again for everyone's help.

I have posted the question into the module mailing support:
https://groups.google.com/forum/#!topic/mojolicious/HftNVDTfM74

I think my theory is correct that the original code is having the issue that the loop has finished before it can call the inner function itself.

Thanks everyone!