http://www.perlmonks.org?node_id=1193195


in reply to Replace and substitur in same file

So how does your current code fail?

If you add strictures (use strict; use warnings;) do you get information that may help solve your problem?

Premature optimization is the root of all job security