Changeset 916

Show
Ignore:
Timestamp:
06/07/06 16:44:25
Author:
miyagawa
Message:

pass args more

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger/Plugin/Filter/TruePermalink.pm

    r915 r916  
    5151    $self->rewrite(sub { $args->{entry}->link }, sub { $args->{entry}->link(@_) }, $args); 
    5252    for my $enclosure ($args->{entry}->enclosures) { 
    53         $self->rewrite(sub { $enclosure->url }, sub { $enclosure->url( URI->new(@_) ) }); 
     53        $self->rewrite(sub { $enclosure->url }, sub { $enclosure->url( URI->new(@_) ) }, $args); 
    5454    } 
    5555} 
    5656 
    5757sub rewrite { 
    58     my($self, $getter, $callback) = @_; 
     58    my($self, $getter, $callback, $args) = @_; 
    5959 
    6060    my $loop;