in reply to Re: Report Format Help!
in thread Report Format Help!
...if so, you can use the s/// operator:
my $page = "<div>hello world</div>\n"; my $x = 'goodbye'; $page .= <<"MORE_HTML"; <div>$x</div> MORE_HTML print "$page\n"; $page =~ s/<.*?>//g; print $page; --output:-- <div>hello world</div> <div>goodbye</div> hello world goodbye
That should be HEREDOC above--not HERDOC.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Report Format Help!
by Anonymous Monk on Feb 05, 2011 at 00:14 UTC | |
by poj (Abbot) on Feb 05, 2011 at 20:57 UTC | |
by 7stud (Deacon) on Feb 05, 2011 at 22:20 UTC |