in reply to File::MMagic Woes
I had the same problems when trying to run the script under mod_perl. The problem ends up being the same thing that Russ pointed out.
The easiest solution (other than fixing File::MMagic) is to use an external magic file when creating a new File::MMagic object. If you do this, File::MMagic won't try the buggy optimization and will read the file each time a new object is called.
|
---|
In Section
Seekers of Perl Wisdom