in reply to Re^4: extracting name & email address
in thread extracting name & email address

Remember Re^3: extracting name & email address?

The idea of writing code that way, is that you can do  StripperMeAddys( 'oneGoodTestFile.mime' ) ; until you get StripperMeAddys working the way it should

Then you can focus on things like typos, copy/pasting from the docs ... things that are likely to work :) like

my $msg = $stripper->message;

Replies are listed 'Best First'.
Re^6: extracting name & email address
by peterr (Scribe) on Feb 24, 2015 at 04:43 UTC

    ..yes, I prefer the structure of the sub routines (having first discovered 'structured cobol' years ago, lol)

    I will work on a small sub as you suggested, to see what the attachment strip does for an email with numerous attachments.