Hybrid organic-inorganic perovskites have emerged as new photovoltaic materials with impressively high power conversion efficiency due to their high optical absorption coefficient and long charge carrier diffusion length. In addition to high photoluminescence quantum efficiency and chemical tunability, hybrid organic-inorganic perovskites also show intriguing potential for diverse photonic applications. In this work, we demonstrate that polycrystalline organic-inorganic perovskite microwires can function as active optical waveguides with small propagation loss. The successful production of high quality perovskite microwires with different halogen elements enables the guiding of light with different colours. Furthermore, it is interesting to find that out-coupled light intensity from the microwire can be effectively modulated by an external electric field, which behaves as an electro-optical modulator. This finding suggests the promising applications of perovskite microwires as effective building blocks in micro/nano scale photonic circuits.