George MacDonald Fraser's Pyrates is a grand farce that rolls in just about every piratical stereotype. Similar in style to his Flashman series, and I think executed almost - but not quite - as successfully.
The delicious juxtaposition in book's dedication gives you an idea of GMF's style ;-)
In memory of the Most Reverend and Right Honourable Lancelot Blackburne (1658-1743)
Archibishop of York and Buccaneer