Corey Perry scores 2 in win over Flyers