function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
dclaardclaar 

Cool feature in WWW::Salesforce and WWW::Salesforce::Simple

If you have a sandbox setup, www.salesforce.com gets changed to test.salesforce.com. By default, these modules can't handle that. The module's current maintainer showed me how to deal with that:

 

my $sforce = WWW::Salesforce->login( 'username' => 'foo', 'password' => 'bar', 'serverurl' => 'https://test.salesforce.com/services/Soap/u/8.0' ) or die $!;

 

 

 

my $sforce = WWW::Salesforce::Simple->new( 'username' => 'foo', 'password' => 'bar', 'serverurl' => 'https://test.salesforce.com/services/Soap/u/8.0' ) or die $!;

 

 

Pretty darn cool.