/[Grep]/lib/Grep/Source.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /lib/Grep/Source.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 86 by dpavlin, Fri Feb 23 21:16:44 2007 UTC revision 88 by dpavlin, Fri Feb 23 21:52:29 2007 UTC
# Line 221  sub scrape { Line 221  sub scrape {
221                          ( $_[0]->attr( $attr ) || '' ) eq $value;                          ( $_[0]->attr( $attr ) || '' ) eq $value;
222          });          });
223    
224          die "can't find results wrapper <$el $attr=\"$value\">" unless ( $div );          if ( ! $div ) {
225                    warn "can't find results wrapper <$el $attr=\"$value\">";
226                    return;
227            }
228    
229          my $max = 5;          my $max = 5;
230          my $nr = 1;          my $nr = 1;

Legend:
Removed from v.86  
changed lines
  Added in v.88

  ViewVC Help
Powered by ViewVC 1.1.26