Syntactic Confectionery Delight | |
PerlMonks |
File::MMagic Woesby Anonymous Monk |
on Aug 09, 2000 at 19:12 UTC ( [id://27059]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I am currently useing the File::MMagic module to get the type
of file without using the standard file command. The program runs as a server forking processes as it gets a new connection. After running the checktype_filename method once or twice the output becomes inacurate. (i.e. pdf != text/plain) The seerver also spits out these error messages: Bad Offset/Type at line 1. 'ng From: message/rfc822 Bad Offset/Type at line 1. 'X transcript text' Invalid type 'video/unknown' at line 1 I can run an example programing in single exicution and it works fine each time, but in this mode it just does not work. Is there something that I am missing? or is this a baddly written module?
Back to
Seekers of Perl Wisdom
|
|