Dane Myers hit a walk-off single with one out in the 12th inning as the Miami Marlins outlasted the visiting Pittsburgh Pirates 5-4 on Saturday.