An efficient and facile strategy for trifluoromethylation and perfluoroalkylation of isoquinolines and heteroarenes.