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
sk2006sk2006 

create multiple records in one call - perl

How do I create multiple records with one create call? Currently I am doing this in a for loop but wanna try to minimize my calls.

            $r = $sf->create( type=>'CaseHist__c',
                        FieldName__c => "$_",
                        CaseId__c => "$caseid",
                        ContactId__c => "$contactid",
                        OldValue__c => "$old{$_}",
                        NewValue__c => "$new{$_}",
                        DateModified__c => "$gmtime"
            );


I'd appreciate any suggestions.