Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • I was under the impression that the problem with "mod_perl" and __DATA__ was only related to CGI scripts. In particular, running them under Apache::Registry, where they will cause the wrapper that Registry puts around them to be missed, leading to compilation failures. Ordinary perl modules should be ok though.


    • Aha, that may well be the case. However, it seems that the hoops that File::MMagic has to jump through while creating its in-memory rules have other problems in forking or mod_perl enviroments, as, for example, this RT bug [] shows.

      Because File::Type is pregenerated, and therefore made out of really simple rules - internally it's merely a string of if statements, the most complex thing in them being a very simple pack - it's unlikely to exhibit any problems.