![]() |
|
P is for Practical | |
PerlMonks |
Re^3: check *.tmp wether it's a zip or notby guha (Priest) |
on Nov 26, 2004 at 15:34 UTC ( #410593=note: print w/replies, xml ) | Need Help?? |
That is check $@ for success. If you only check the signature, which is what my quick check into File::Type confirmed that it is doing, there is a risk even if it is remote that another binary file could start with these magic bytes.
In Section
Seekers of Perl Wisdom
|
|