Checking for attachments in an email and storing to a seperate file

Anthony Seddon <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.mail-box
Message-ID <20040325.162737.540116.BC63EDDE901E56630196218F15D711DF@CTBTO.ORG>
I use procmail to pipe email to a perl script.  At the moment the script can only handle simple text messages without attachments.  However I would like to be able to be able to accept attachments, strip them out save them to a seperate file.

Is this something that I could achieve using MailBox or am I on the wrong track?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.