Z
Z. M. Wu
Perl does not like if $other contains special characters
like * ] in the following
my @a=split/$other/,$req;
My current workaround is
$other=~ s/[\)\(\*]/_/g;
$req=~ s/[\)\(\*]/_/g;
before the split.
Any insight or better solution would be helpful
Thanks
Mr Wu Zong Ming
like * ] in the following
my @a=split/$other/,$req;
My current workaround is
$other=~ s/[\)\(\*]/_/g;
$req=~ s/[\)\(\*]/_/g;
before the split.
Any insight or better solution would be helpful
Thanks
Mr Wu Zong Ming