in reply to Need help with s///
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";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: Need help with s///
by Abigail (Deacon) on Jul 15, 2000 at 02:25 UTC | |
|
RE: (2) Need help with s/// ( $! )
by ybiC (Prior) on Jul 15, 2000 at 17:08 UTC |