Perturbation Analysis and On-Line Control