Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: File::MMagic Woes

by koolade (Pilgrim)
on Aug 07, 2001 at 20:44 UTC ( [id://102846]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://102846]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (1)
As of 2024-04-24 16:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found