in reply to Convert Visual Basic Code to PERL (again)

You have to do the same thing as before.

use Win32::OLE::Variant; $oParameterField->AddCurrentValue(Variant(VT_DATE, "01/31/03"));

Please read the docs for Win32::OLE::Variant

Jenda
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
   -- Rick Osborne

Edit by castaway: Closed small tag in signature