Using the API
Subject:   create works but update errors
Date:   2007-03-20 10:34:22
From:   thvv
My code is a minor mod to the example.

$sfresult = $sforce->update(%lead);

I get the message
Expected a hash with key 'type' as first argument at line 49
Can't call method "result" without a package or object reference at line 50.

I dumped the hash %lead and it has a key 'type'.

this is recent CPAN code. $VERSION = '0.082';

am I missing something obvious?

1 to 1 of 1
1 to 1 of 1