diff options
| author | Paul C. Buetow (mars.fritz.box) <paul@buetow.org> | 2014-04-27 12:08:13 +0200 |
|---|---|---|
| committer | Paul C. Buetow (mars.fritz.box) <paul@buetow.org> | 2014-04-27 12:08:13 +0200 |
| commit | 3067a794af526f5afc7483fb1c273affe7ffd9a1 (patch) | |
| tree | e1cd2f6bc53c78473bc75940438508add11df97e | |
| parent | 204a968f2f7404171273fc1f81ed9c450d5ee134 (diff) | |
You will feel hungry again in another hour.
| -rw-r--r-- | Xerl/Page/Content.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Xerl/Page/Content.pm b/Xerl/Page/Content.pm index 1fcc27e..6acd909 100644 --- a/Xerl/Page/Content.pm +++ b/Xerl/Page/Content.pm @@ -110,9 +110,7 @@ sub _insertrules($$$) { } elsif ( lc $name eq 'inject' ) { # Fetch via LWP::Simple - my $got = get($text) or push @content "Error:$!"; - my $got = "$got:text:$text"; - push @content, '<noop>', $got, '</noop>'; + push @content, '<noop>', get($text), '</noop>'; } elsif ( lc $name eq 'navigation' ) { |
