# How do you assign the oxidation number to HCl?

Hydrogen has a $+ I$ oxidation number, and chlorine a $- I$ oxidation number in the neutral gas $H C l$.
Perchloric acid, $H C l {O}_{4}$, contains oxygen atoms that have a $- I I$ oxidation number. What is the oxidation number of chlorine here?