summaryrefslogtreecommitdiff
path: root/Xerl/Page/Content.pm
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2011-04-26 19:13:48 +0000
committerPaul Buetow <paul@buetow.org>2011-04-26 19:13:48 +0000
commitd87c0e16f9b880ce38e1ff6a39f22ba49263aef0 (patch)
treee9fa42aa49bcf532ca75fc17928aaff850815e1c /Xerl/Page/Content.pm
parent4aae3132de0ff117290cdc5a8cebeb5bf467942f (diff)
code cleanup using perltidy
Diffstat (limited to 'Xerl/Page/Content.pm')
-rw-r--r--Xerl/Page/Content.pm9
1 files changed, 4 insertions, 5 deletions
diff --git a/Xerl/Page/Content.pm b/Xerl/Page/Content.pm
index 9100215..9bdca50 100644
--- a/Xerl/Page/Content.pm
+++ b/Xerl/Page/Content.pm
@@ -48,9 +48,9 @@ sub parse($) {
config => $config
);
- if (-1 == $xmlcontent->open()) {
- $config->set_shutdown(1);
- return undef;
+ if ( -1 == $xmlcontent->open() ) {
+ $config->set_shutdown(1);
+ return undef;
}
$xmlcontent->parse();
@@ -144,8 +144,7 @@ sub _insertrules($$$) {
$name =~ s/^=//o; # Remove the leading =
if ( $succ->get_single() ) {
push @content,
- "<$name"
- . ( $succ->params_str() || '' ) . " />\n"
+ "<$name" . ( $succ->params_str() || '' ) . " />\n"
}
else {