A Perth teenager pleads guilty to injuring a fellow student with a sharp weapon on high school grounds.