summaryrefslogtreecommitdiff
path: root/Xerl/Page
diff options
context:
space:
mode:
authorPaul C. Buetow (mars.fritz.box) <paul@buetow.org>2014-04-27 12:06:38 +0200
committerPaul C. Buetow (mars.fritz.box) <paul@buetow.org>2014-04-27 12:06:38 +0200
commitb43593e9472c0ac62d457d62c5f382dbe3bc2ac7 (patch)
tree069cd22370464a887b69aeac5ae209ef14f919c9 /Xerl/Page
parenteef0ca8c2f717f7035ac376ba5882599e8c81a43 (diff)
You will wish you hadn't.
Diffstat (limited to 'Xerl/Page')
-rw-r--r--Xerl/Page/Content.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xerl/Page/Content.pm b/Xerl/Page/Content.pm
index 375cc95..ab7d374 100644
--- a/Xerl/Page/Content.pm
+++ b/Xerl/Page/Content.pm
@@ -110,7 +110,7 @@ sub _insertrules($$$) {
}
elsif ( lc $name eq 'inject' ) {
# Fetch via LWP::Simple
- my $got = get($text) or die "$!";
+ my $got = get($text) or push @content "Error:$!";
$got = "$got:text:$text",
push @content, '<noop>', $got, '</noop>';