What have I done wrong?
My guess you didn't start with mimeexplode
In reply to Re: MIME::Tools to save attachment properly by Anonymous Monk in thread MIME::Tools to save attachment properly by gcasa