develooper Front page | perl.beginners | Postings from February 2002

Re: getting a block of text from file

Thread Previous | Thread Next
Michael Fowler
February 12, 2002 10:55
Re: getting a block of text from file
Message ID:
On Tue, Feb 12, 2002 at 09:47:07PM +1300, Chris Zampese wrote:
> Content-Transfer-Encoding: quoted-printable
> The message of the email is here then it is followed by
> ------=_NextPart_000_0118_01C1B358.DE107900
> (lots more lines of stuff)
> how would I get just the message into a variable (or array or whatever) so
> that I can use it?

I would suggest using the MIME::Tools module available on CPAN, possibly in
combination with an email parser, such as Mail::Internet.

Programmer, System Administrator

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About