[OT] mod_mime_magic in perl?

2001-05-31 Thread Issac Goldstand
Does anyone know if there is a perl module that implements the features of Apache's mod_mime_magic module? (e.g., you give it a file handle, or data and it tries to autodetect the correct mime-type) Issac Internet is a wonderful mechanism for making a fool ofyourself in front of a very

Re: [OT] mod_mime_magic in perl?

2001-05-31 Thread barries
On Wed, May 30, 2001 at 05:21:22PM +0200, Issac Goldstand wrote: Does anyone know if there is a perl module that implements the features of Apache's mod_mime_magic module? (e.g., you give it a file handle, or data and it tries to autodetect the correct mime-type) Here's a module (File::Type)

Re: [OT] mod_mime_magic in perl?

2001-05-31 Thread Issac Goldstand
On Wed, May 30, 2001 at 05:21:22PM +0200, Issac Goldstand wrote: Does anyone know if there is a perl module that implements the features of Apache's mod_mime_magic module? (e.g., you give it a file handle, or data and it tries to autodetect the correct mime-type) Here's a module

Re: [OT] mod_mime_magic in perl?

2001-05-31 Thread Randal L. Schwartz
Issac == Issac Goldstand [EMAIL PROTECTED] writes: Issac Well, it looks great except that most of the types are just Issac different flavors of text/plain... If you do implement real Issac magic files (look at the files the Apache uses for good example Issac magic files), or even get a bigger

Re: [OT] mod_mime_magic in perl?

2001-05-31 Thread barries
On Thu, May 31, 2001 at 03:08:03PM +0200, Issac Goldstand wrote: Aside from that lack, it's perfect for me. Feel like patching in a magic-file parser? I'm swamped at the moment. - Barrie