Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixed scrape for depended-on-by.pl
  • Loading branch information
xaicron committed Jun 25, 2011
1 parent 24a5b58 commit 1e0430c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/pm-uninstall
Expand Up @@ -115,7 +115,7 @@ sub ask_permission {
warn "Checking modules depending on $vname\n" if $opt->{verbose};
warn "-> Getting from $base_url$vname\n" if $opt->{verbose};
my $content = get("$base_url$vname") || '';
for my $dep ($content =~ m|<li>([a-zA-Z0-9_:-]+)|smg) {
for my $dep ($content =~ m|<li><a href=[^>]+>([a-zA-Z0-9_:-]+)|smg) {
$dep =~ s/^\s+|\s+$//smg; # trim
next if $seen{$dep}++;
push @deps, $dep if locate_pack($dep);
Expand Down

0 comments on commit 1e0430c

Please sign in to comment.