Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: File::MMagic Woes

by koolade (Pilgrim)
on Aug 07, 2001 at 20:44 UTC ( #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? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2022-08-19 08:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?