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

getting a block of text from file

Thread Next
Chris Zampese
February 12, 2002 02:24
getting a block of text from file
Message ID:
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

(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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About