Keep It Simple, Stupid | |
PerlMonks |
Re^2: _DATA_ in File::MMagic breaks mod_perl scripts?by blahblahblah (Priest) |
on Nov 22, 2005 at 17:09 UTC ( [id://510858]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|