Changeset 571

Show
Ignore:
Timestamp:
04/10/06 23:43:06
Author:
miyagawa
Message:

unalias the loop variable

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger/Plugin/Subscription/Planet.pm

    r570 r571  
    2828    for my $kw (@$keyword) { 
    2929        for my $site (@sites) { 
    30             $site =~ s{%s(?::([\w\-]+))?}{ 
     30            my $site_url = $site; 
     31            $site_url =~ s{%s(?::([\w\-]+))?}{ 
    3132                my $query = $kw; 
    3233                if ($1) { 
     
    3536                URI::Escape::uri_escape($query); 
    3637            }eg; 
    37             push @{$self->conf->{feed}}, { url => $site
     38            push @{$self->conf->{feed}}, { url => $site_url
    3839        } 
    3940    }