in reply to OLE syntax question

Your Perl syntax is highly unlikely to work, or even compile.

Most likely you want

$objItems->Sort( "[ReceivedTime]", 1 );

If the function really, really wants a VT_BOOLEAN as its second parameter, you will have to create the appropriate Win32::OLE::Variant object.

Replies are listed 'Best First'.
Re^2: OLE syntax question
by zuma53 (Beadle) on Aug 27, 2014 at 05:09 UTC
    Works like a charm!

    Thanks!