in reply to same database problem
could just be$message =~ s/:\)/\<img src=\"$imagedir\/smiley.gif\"\>/g;
or$message =~ s#:\)#<img src="$imagedir/smiley.gif">#g;
$message =~ s{:\)} {<img src="$imagedir/smiley.gif">}g;
Every bit of code is either naturally related to the problem at hand, or else it's an accidental side effect of the fact that you happened to solve the problem using a digital computer.
M-J D
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: same database problem
by sulfericacid (Deacon) on Jul 04, 2003 at 03:01 UTC |