On Fri Oct 29 09:30:15 2010, huggie wrote:
Show quoted text> perl is 5.8.8
> Catalyst is 5.80024
> DebugFilter is 0.05
>
> I've attached a tarball of a simple Catalyst that once I add
DebugFilter
Show quoted text> to stops working.
>
> If I comment out DebugFilter then I don't get that functionality but I
> do get uploads working.
>
> $upload->slurp fails with:
> [error] Can't open '/tmp/4fOV3ZvP16': 'No such file or directory'
>
> Commenting it out once more then it works.
>
> I don't understand why one would affect the other. Any help
gratefully
Show quoted text> received.
I can definitely see why this might happen but I can't reproduce the
problem (even after installing the versions of software you list).
Would you be able to experiment with a couple of things on your end?
* Try upgrading to CatalystX::DebugFilter 0.06 (this uses Clone::PP
instead of Clone::Fast)
* Try removing the "clone" step in CatalystX/DebugFilter.pm. Just
change this line (
http://github.com/brianphillips/CatalystX-
DebugFilter/blob/master/lib/CatalystX/DebugFilter.pm#L23) to my $copy =
$obj;
Let me know if either of those affect the behavior you're seeing.
Also, I've added a unit test to CatalystX-DebugFilter that tests this
behavior (and it passes on my system). Here's the commit:
http://goo.gl/974Q
Could you grab the git version and run the unit test on your system and
see if it fails?