Help for this page

Select Code to Download


  1. or download this
      # In test suite.
    
    ...
      is $cdbi_object->name, 'Bar', "name has changed to 'Bar'";
    
      # Test fails.
    
  2. or download this
      # Reload the object from the database.
      $cdbi_object->remove_from_object_index;
      $cdbi_object = My::Object->retrieve( $cdbi_object->id );