diff options
Diffstat (limited to 'lib/Reply')
-rw-r--r-- | lib/Reply/Plugin/ResultCache.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Reply/Plugin/ResultCache.pm b/lib/Reply/Plugin/ResultCache.pm index 2a11a02..fc260f5 100644 --- a/lib/Reply/Plugin/ResultCache.pm +++ b/lib/Reply/Plugin/ResultCache.pm @@ -44,6 +44,7 @@ sub mangle_result { my $self = shift; my ($result) = @_; + return unless defined $result; return '$' . $self->{result_name} . '[' . $#{ $self->{results} } . '] = ' . $result; } |