Adding potassium perchlorate to an aqueous solution, like hydrochloric acid, does not work. KClO4 is only very sparingly soluble and derived salts, such as KCl are much more soluble.
Adding KClO4 to conc. H2SO4 may work, if the liquid is distilled at low pressure and slight heating, but this process is VERY dangerous. Anhydrous or highly concentrated perchloric acid is an insanely dangerous compound, which explodes on contact with organics and is exceedingly corrosive. This experiment can only be conducted in a specially prepared fume hood, which is inert towards perchloric acid and which does not contain materials which can absorb any condensed vapor of perchloric acid. Even with this kind of precautions there always is a high risk of explosion.