Help for this page

Select Code to Download


  1. or download this
        $whole_thing =~
          m|<some unique html start string>(.*?)<end string>|s;
        $good_chunk = $1;
    
  2. or download this
    <div id="good_chunk">
    
  3. or download this
    while ( my $token = $p->get_tag( "div" ) ) {
        if ( $token->[1]->{'id'} eq 'good_chunk' ){
    ...
            # for further parsing
        }
    }