Katy Perry hopes her truce with Taylor Swift "sets an example" to their young fans and shows them how to forgive others.