Darren Moore's header from a corner gave Barnsley hope after slack Swansea defending, but Pratley secured the win following a fine Andrea Orlandi set-up.
When Robson replaced Kanu with DarrenMoore it seemed as if he was happy with a point, but Carter had other ideas, rifling a wonderful shot beyond Jens Lehmann's despairing dive.