Probably not. I would suggest that you use one of the MIME Magic modules, such as File::MimeInfo::Magic, to get perl to tell you what type of document you have received. Then, if it is a word document (I believe the MIME type is application/msword), then you can continue with your script, otherwise chuck out an error message.
In reply to Re: OLE and WORD docs
by dtr
in thread OLE and WORD docs
by forinti
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |