in reply to Re: _DATA_ in File::MMagic breaks mod_perl scripts?
in thread _DATA_ in File::MMagic breaks mod_perl scripts?

Thanks! I didn't think to look at the readme (I'm not the one who installed the module here or who wrote our code that uses it.) The author ought to mention this limitation in the POD also.

Looking at your new sub, I think I see why this doesn't affect us. We use our own magic file, and by passing a filename to new() we skip the whole "if (! @_)" block.

  • Comment on Re^2: _DATA_ in File::MMagic breaks mod_perl scripts?