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

getting a block of text from file

Thread Next
From:
Chris Zampese
Date:
February 12, 2002 02:24
Subject:
getting a block of text from file
Message ID:
OE63tSkrpEwwSm3olwR0000d1f2@hotmail.com
Hi All,
  I have a file that contains the contents of an email.  Its format is shown below...

(Lots of lines of random stuff)
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?

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About