File::MMagic inlines a copy of the magic database, and uses a DATA filehandle, which causes problems when running under mod_perl.
This worries me because I'm using File::MMagic in a couple of ModPerl::Registry scripts. Can someone explain why this is a problem? All I could find is the warning in chapter 6.6 of the mod_perl book, but does that apply to used or required code from a separate file? It seems to me like it would only matter if the _DATA_ token was in the main script, which is what gets wrapped by mod_perl.
Thanks,
Joe
In reply to _DATA_ in File::MMagic breaks mod_perl scripts? by blahblahblah
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |