<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><FONT size=2><FONT
face="Andale Mono">I had problems installing File::MimeInfo::Magic on win32 so I
would suggest using LWP::MediaTypes instead:<?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><o:p><FONT face="Andale Mono"
size=2> </FONT></o:p></P>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><FONT size=2><FONT
face="Andale Mono"><SPAN
style="mso-tab-count: 1"> </SPAN>use
LWP::MediaTypes qw(guess_media_type);<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><FONT size=2><FONT
face="Andale Mono"><SPAN
style="mso-tab-count: 1">
</SPAN>...<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><FONT size=2><FONT
face="Andale Mono"><SPAN
style="mso-tab-count: 1"> </SPAN>my $type =
shift || guess_media_type $path;<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><o:p><FONT face="Andale Mono"
size=2> </FONT></o:p></P>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><o:p><FONT face="Andale Mono"
size=2> </FONT></o:p></P>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><FONT size=2><FONT
face="Andale Mono">One can still use File::MimeInfo::Magic within the
application and supply mimetype as an argument to
Static.<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><o:p><FONT face="Andale Mono"
size=2> </FONT></o:p></P>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><FONT size=2><FONT
face="Andale Mono">Would that be ok?<o:p></o:p></FONT></FONT></P>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><FONT size=2><FONT
face="Andale Mono">Matthias<o:p></o:p></FONT></FONT></P></FONT></DIV></BODY></HTML>