In the present paper the problem of laminar, incompressible and viscous flow between two moving porous walls, which enable the fluid to enter or exit during successive expansions or contractions, has been is solved using Laplace transform and Homotopy Perturbation Method (HPM).the effects of various physical parameter on velocity profile has been studied and presented through graphs and tables.