i was marooned for a spell in perth , where i tended bar , washed dishes , and played lousy honky-tonk piano in a seaside dive , while i waited for a berth on a freighter to transport me on to sri lanka .