more useful options | |
PerlMonks |
OLE syntax questionby zuma53 (Beadle) |
on Aug 26, 2014 at 19:31 UTC ( [id://1098657]=perlquestion: print w/replies, xml ) | Need Help?? |
zuma53 has asked for the wisdom of the Perl Monks concerning the following question:
Hi--
I'm trying to use Perl to process some Outlook messages, but I need to insure they are done in date-received order. I saw this posting to do it in VB (http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsupt.web+WinBatch/OLE~COM~ADO~CDO~ADSI~LDAP/OLE~and~Outlook+Sort~Email~by~Received~Time.txt), but can't seem to get the syntax quite right:
VB: objItems.Sort("[ReceivedTime]", @True);
How do I express the <"ReceivedTime"> and <@True> parameters in Perl?
Perl: $objItems->Sort{???, ???};
I'm not a whiz with VB in the least.
Thanks in advance.
Back to
Seekers of Perl Wisdom
|
|