Meaning of barbary coast

Definition of barbary coast

(noun) a part of a city that is notorious for gambling dens and brothels and saloons and riotous night life (especially the waterfront of San Francisco after the gold rush of 1849); "we'll tolerate no Barbary Coast in this city!"
the Mediterranean coast of northern Africa that was famous for its Moorish pirates

Other information on barbary coast

WIKIPEDIA results for barbary coast
Amazon results for barbary coast