AbstractWe introduce the notion of functions of bounded proximal variation and the notion of orderly connected topology on the real line. Using these notions, we define in a novel way an integral of Perron type, including virtually all the known integrals of Perron and Denjoy types and admitting mean value theorems and integration by parts and the analog of Marcinkiewicz theorem for the ordinary Perron integral.