Help for this page

Select Code to Download


  1. or download this
    my $object = Product::create( $data_ref );
    
    ...
    else {
      &call_potential_product_api( $object );
    }
    
  2. or download this
    if (Product::isa_Real_Object( $data_ref )) {
      &call_real_product_code( $data_ref );
    ...
    else {
      &call_potential_product_code( $data_ref );
    }