Serie A strugglers Livorno have appointed Attilio Perotti as their new coach following the sacking of Davide Nicola on Monday afternoon.