in reply to Accessing a user defined field in an Outlook Contact

I think for your custom fields you need something like
print "Test Field 4: $item->UserProperties(Test4)\n";
(but I have no easy way to test it here).

Replies are listed 'Best First'.
Re^2: Accessing a user defined field in an Outlook Contact
by Anonymous Monk on Oct 03, 2006 at 15:17 UTC
    That seems to be very close, but not quite there. I get the following output:

    Test Field 4: Win32::OLE=HASH(0x1974e98)->UserProperties{Test4}

    How do I get to the actual value?
      In my post I have UserProperties followed by parens because it is a function. Your error shows curly braces. Did you use parens?

      You could also use Data::Dumper to print the $item hash.

      HTH