Fluorinated heterocyclic compounds. An expedient route to 5-perfluoroalkyl-1,2,4-triazoles via an unusual hydrazinolysis of 5-perfluoroalkyl-1,2,4-oxadiazoles: first examples of an ANRORC-like reaction in 1,2,4-oxadiazole derivatives.