In large bowl, beat margarine and sugar untill smooth. Beat in egg and vanilla. Combine flour, baking powder, cinnamon, and ginger; mix into batter. Stir in chopped pears, chopped nuts and raisins.
Drop about two inches apart by rounded tablespoonfuls onto baking sheets and bake 15 minutes or until edges are golden brown and center springs back when lightly touched. Remove to wire racks to cool.
Combine confectioners' sugar and lemon juice and mix until smooth. Spoon icing over coookies.