If that is too much, you can start with code like this:
which , I suspect , is close to what you are looking for.my @content = split /^/, $response->content(); my $introduction; for my $line (@content){ next unless ( $introduction ) ||= $line=~/Game Introduction - Marvel +: Avengers Alliance/; my $EndSection = $line=~/<\/section>/; local $_ = $line; # Make a copy, so we do not modify @content.. m|^\s*<[^/>]+>(.+)</| and $_=$1; # Zap tags on both sides, if any s|<[^>]+>||g; # Zap single </onetag> tags print; last if $EndSection ; }
I hope life isn't a big joke, because I don't get it.
-SNL
In reply to Re^3: How to output the words that you want that came thru an html file?
by NetWallah
in thread How to output the words that you want that came thru an html file?
by stone_ice
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |