Your regex is wrong:
$string =~ s|\Qsrc="\E(.*?)/(.*?)\.gif\"\>|src="/$2.gif">|sig;
Notice the last closing >. In your string, your first img tag doesn't have a closing > right after the src, so your match is going all the way to the second one.
Cheers,
Alex
--
Gossamer Threads Inc.
$string =~ s|\Qsrc="\E(.*?)/(.*?)\.gif\"\>|src="/$2.gif">|sig;
Notice the last closing >. In your string, your first img tag doesn't have a closing > right after the src, so your match is going all the way to the second one.
Cheers,
Alex
--
Gossamer Threads Inc.