Francesco del Vecchio wrote:
I have this string:
/tdtd width=3 background=img/colore_grigio.gifimg src=img/colore_grigio.gif
width=1
height=1/td/table
I would like to replace the background adding the absolutepath. So I write this code
$tosubstitute = url($4,$baseurl)-abs-as_string;
Stefan Lidman wrote:
Francesco del Vecchio wrote:
I have this string:
/tdtd width=3 background=img/colore_grigio.gifimg
src=img/colore_grigio.gif width=1 height=1/td/table
I would like to replace the background adding the absolutepath. So
I write this code
$tosubstitute =
I have this string:
/tdtd width=3 background=img/colore_grigio.gifimg src=img/colore_grigio.gif
width=1
height=1/td/table
I would like to replace the background adding the absolutepath. So I write this code
$tosubstitute = url($4,$baseurl)-abs-as_string;
$tosubstitute =qq($tosubstitute);
$line
Hi,
I would have thought the curley braces are the problem, have you tried the following
line:
$line =~ s/background(\s?)(=?)(\?)(.*?)(\?)\s/background=$tosubstitute/i;
aim.
===
Francesco del Vecchio wrote:
I have this