Removing the prelude (+ bug in the doc)
Gilles <[email protected]> Sun, 13 Feb 2005 16:58:39 +0100
| Newsgroups | gmane.comp.lang.perl.modules.mail-box |
|---|---|
| Message-ID | <[email protected]> |
> > $msg->replyPrelude( '' ) ;
>
> Nope that does not do it.
> I thought there was a method to delete body part [x], or somthing.
Right you are.
This is the way:
my $reply = $msg->reply( include => 'NO',
prelude => '' ) ;
The docs say that one can specify "undef" for the 'prelude' but
this triggers an error:
Can't call method "concatenate" on an undefined value at /usr/share/perl5/Mail/Message/Construct/Reply.pm line 145, <GEN1> line 726.