Re: html tags and perl





On Jan 29, 12:47 pm, Kio <ysmay13@xxxxxxxxxxxxxxxxxx> wrote:
I dont want to use a
regexp.

Why not?


for example:

<img src="xxx.jpg"> change to <img src="zzz.jpg">


$file =~ s/xxx\.jpg/zzz\.jpg/g;

Now why would you want to use more code for a slower less efficient
way to replace just to avoid regex?

.