UPDATE: Abigail points out that the \Q won't prevent variable interpretation (damn) but that wasn't my point. My point was that you can only be sure a regex matched something if you check. To make Abigail happy I give you:$a =~ s/\Q$$NETOBJ.// or die "$a is not right";
$a =~ s/\$\$NETOBJ\.// or die "$a is not right";
In reply to RE: Need help with s///
by Adam
in thread Need help with s///
by Tii
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |