in reply to Module Ideas - Tie::HTMLencode and Tie::UrlEncode
$input =~ s/\<script\>/<script type='text/javascript'>/;
might not work as you expect.
You might prefer to use overload to overload the string operator. (NB: this is fairly new and tricky - I've had core dumps.)
dave hj~
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Module Ideas - Tie::HTMLencode and Tie::UrlEncode
by rrwo (Friar) on Feb 22, 2002 at 02:42 UTC |