Subject: | HTTP Restarter fails in mro.pm when top app class edited, with perl 5.10 |
The HTTP reloader is failing with:
********************************************************************************
Inconsistent hierarchy during C3 merge of class 'Test2': merging failed
on parent 'Catalyst' at /usr/share/perl/5.10/mro.pm line 26.
Compilation failed in require at (eval 447) line 1.
********************************************************************************
I think the problem is perl 5.10 specific (I am running Debian testing,
with perl 5.10.0) Patch 9769 was intended to fix this problem, but this
patch is in 5.8005 and I'm still seeing the problem.
Repro steps are simple:
catalyst.pl Test2; cd Test2; ./script/*_server.pl -r -p 8001 &
[wait for all the output]
touch lib/Test2.pm
[restart fails, above output results]