Hi!
I'm currently creating a SOAP client where I'm building a structure using an array, consisting of data from different sources. However, the source data can sometimes be an empty value. Is there a good way to evaluate this on the same row? I know how to solve it using if logic, but theres a lot of fields for this and I don't want to clutter the code
Maybe I can loop through the array afterwards and remove empty values?
push @{WebserviceArray_order."$r"}, SOAP::Data ->type("xs:string")
+ ->name('externalOrderId' => $my_order_id); # Only if empty?