It sounds like you have found a bug in perl. Kudos to you, especially if no one else has found and reported it before you.
Two things you might try:
- Is the bug reproducible in the latest development release of perl? (5.15.7 I think). The easiest way to compile and install a dev release of perl is with perlbrew.
- Can you produce a minimal script that shows the bug that is as small as possible with a few dependencies as possible? Catalyst apps have a notoriously large number of dependences, so the perl maintainers won't enjoy digging through that mountain to find the module that is causing the trouble. The usual method is to start commenting out blocks of your code until you find the smallest script that will cause the bug.