Re: Using or working around File::MMagic under mod_perl

2007-02-27 Thread Robert Landrum
Mark Stosberg wrote: Hello, Recently I ran into a bug with File::MMagic where it returns inconsistent results under mod_perl. Could it simply be a matter of fixing the use of the DATA handle, as Stats suggest here? http://mail-archives.apache.org/mod_mbox/perl-modperl/200403.mbox/[EMAIL PROTE

Re: Using or working around File::MMagic under mod_perl

2007-02-27 Thread Perrin Harkins
Hi Mark, What's interesting is that the same version of File::MMagic works correctly on a different machine. I suspect that some other module loaded has changed a global variable that File::MMagic depends on. Someone has a bug report and patch to that effect here: http://rt.cpan.org/Public/Bug/

Using or working around File::MMagic under mod_perl

2007-02-27 Thread Mark Stosberg
Hello, Recently I ran into a bug with File::MMagic where it returns inconsistent results under mod_perl. I'm interested in getting this bug fixed, or using an alternative module that works. What's interesting is that the same version of File::MMagic works correctly on a different machine. I susp