<?xml version="1.0" encoding="windows-1252"?>
<node id="410558" title="Re: check *.tmp wether it's a zip or not" created="2004-11-26 06:04:49" updated="2005-06-21 22:44:21">
<type id="11">
note</type>
<author id="59896">
tomhukins</author>
<data>
<field name="doctext">
You could use something like [cpan://File::Type] to check whether the file looks like an &lt;code&gt;application/zip&lt;/code&gt; file or not, before passing it to Archive::Zip.</field>
<field name="root_node">
410553</field>
<field name="parent_node">
410553</field>
</data>
</node>
