Use the get() and get_t() functions of the InCharge::object module with multiple arguments instead of this call, as shown in the example.

 ( $vendor, $model ) = $obj->get( "Vendor", "Model" );

The syntax of the primitive itself is:

  • @values = $session->getMultipleProperties( $object, \@propnames);

  • @values = $session->getMultipleProperties_t($object, \@propnames);

    For example:

     ($vendor,$model) =
      $session->getMultipleProperties( $obj,
          [ "Vendor", "Model" ] );

    The argument is a reference to an array that contains the names of the properties to be returned.