...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.
In reply to Re^2: Report Format Help!
by 7stud
in thread Report Format Help!
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |