in reply to Re: Re: Re: Re: Outlook MailItem Body Question
in thread Outlook MailItem Body Question
Did you actually try it?
I realise that Body may be described as an attribute in the OLE documentation for Outlook, but the error message certainly imples that it ends up being implemented as a method within Win32::OLE.
The error message is pretty indicative.
{ my $s = 'the quick brown fox'; sub Body{ ($s) = @_ if @_; $s } } print Body(); the quick brown fox Body = 'fred'; Can't modify non-lvalue subroutine call in scalar assignment at (eval +3) line 1, at EOF Body( 'fred' ); print Body(); fred
If you did try it, what error message did you get from the attempt?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Re: Outlook MailItem Body Question
by Anonymous Monk on Jan 06, 2004 at 20:15 UTC |