Hi Ian,
The entire module is being rewritten in a more sane manner. It is far
from complete, but documentation is a major effort on this new release.
Please take a look into the pre pre pre pre pre pre-Alpha release I've
attached here and see if you have any suggestions.
Thanks,
Chase
On Wed Jun 17 15:44:01 2009, IANK wrote:
Show quoted text> my ($spec,$type) = splice @_,0,2;
> if ( $spec ne 'type' || !$type ) {
> carp( "Expected a hash with key 'type' as first argument"
> );
> return 0;
> }
>
> Hashes have no order, by virtue of being nothing more than unordered
> collections of unique
> keys and associated values. They cannot be guarenteed to flatten in a
> particular order, not
> even during the same execution of a process. Requiring that one key
> be "first" is a
> nonsensical condition. As a consequence, calling WWW::Salesforce-
> >update(%somehash)
> breaks nearly all of the time (except when the RNG is smiling...).
> ->update('type', 'Case',
> %the_rest) works but shouldn't be necessary.