From ef520c02cea20449c3bdeb656271ac51e645edcb Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Fri, 31 May 2013 03:06:35 -0500 Subject: pass through extra arguments to the code to execute --- lib/Reply/Plugin/Defaults.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Reply/Plugin/Defaults.pm b/lib/Reply/Plugin/Defaults.pm index c71d329..0296c70 100644 --- a/lib/Reply/Plugin/Defaults.pm +++ b/lib/Reply/Plugin/Defaults.pm @@ -40,9 +40,9 @@ sub compile { sub execute { my $self = shift; - my ($next, $code) = @_; + my ($next, $code, @args) = @_; - return $code->(); + return $code->(@args); } sub print_error { -- cgit v1.2.3-54-g00ecf