We have investigated the temperature dependence of the Mn local structure in -site ordered (, Nd, Sm, and Y) perovskites, in parallel with their disordered counterparts, , by means of x-ray emission (XES) and x-ray absorption spectroscopy (XAS) The end member shows a nearly regular octahedron independent of temperature. With decreasing the ionic radius in the ordered samples, the XAS results indicate that a local distortion develops in the octahedron at the low-temperature charge-localized and polar phases. For , this local distortion is tiny, indicating the absence of charge segregation at the Mn site. This is followed by a bigger local distortion anticipated for in its respective charge-localized and polar phase and finally, the biggest local distortion for the smallest -site cation ordered compound, , for which it even persists above the polar charge-localization transition temperatures. The high-resolution XAS spectra confirm the presence of charge segregation between two nonequivalent Mn sites in the low-temperature polar phase of Sm and Y ordered samples. Thus, our XAS study suggests a displacive mechanism for the charge-localization and polar transitions in the Nd and Sm ordered samples while a combination of displacive and order-disorder contributions is revealed for . Besides, calorimetric measurements confirm the combination of the two mechanisms, order-disorder and displacive, for the ordered Sm and Y compounds. On the other hand, the -site disordered samples with cations smaller than Nd present a significant static (temperature-independent) local disorder, which explains why polar charge-localization transitions are not developed in these samples. Finally, we correlate our results about the Mn local structure and character of the transitions with the macroscopic magnetic and electric behavior of both -site ordered and disordered compounds.