On Tue, 26 Aug 1997 13:49:31 -0500 (CDT), Virtual Joe wrote:
>> + $reply_addr =~ s/[~`/]//g;
>
>I'm no perl expert, but I think you will need to escape out a few of these
>characters (I did them all just to be safe) in order to get it to work:
>
>+ $reply_addr =~ s/\[\~\`\/\]//g;
Well, your escaping will change the meaning of the
search-replace. You better stick to the slightly revised
version posted in this group by Jason L Tibbitts III
<tibbs@hpc.uh.edu>,
$reply_addr =~ s![~`/]!!g;
or just escape the "/" in the character class,
$reply_addr =~ s/[~`\/]//g;
or use tr///,
$reply_addr =~ tr!~`/!!d;
------------------------------------------------------
Mats Dufberg mats.dufberg@abc.se
Follow-Ups:
|
|