MESSAGE
DATE | 2003-07-17 |
FROM | joev_nylxs@pipeline.com
|
SUBJECT | Subject: [hangout] Perl, Pattern Matching and Delete
|
here's my problem:
I have a scalar variable that I need to strip out some stuff before it prints the html. I tried s/PATTERN// and this matches the pattern but does not remove it or replace it with "nothing." I've also tried s/PATTERN//d which if I understand this is suppose to delete the matched pattern if it was not replaced. That didn't work either. Is there an efficient way of doing this?
thanks Joe ____________________________ NYLXS: New Yorker Free Software Users Scene Fair Use - because it's either fair use or useless.... NYLXS is a trademark of NYLXS, Inc
|
|