From 89260fb39a612acfa6b5d87c0f63cfccd1118d18 Mon Sep 17 00:00:00 2001 From: joey Date: Fri, 27 Apr 2007 18:55:20 +0000 Subject: [PATCH] folding --- IkiWiki.pm | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/IkiWiki.pm b/IkiWiki.pm index 10a316e03..70fc6ff73 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -1011,29 +1011,29 @@ sub pagespec_match ($$;@) { #{{{ package IkiWiki::FailReason; -use overload ( +use overload ( #{{{ '""' => sub { ${$_[0]} }, '0+' => sub { 0 }, '!' => sub { bless $_[0], 'IkiWiki::SuccessReason'}, fallback => 1, -); +); #}}} -sub new { +sub new { #{{{ bless \$_[1], $_[0]; -} +} #}}} package IkiWiki::SuccessReason; -use overload ( +use overload ( #{{{ '""' => sub { ${$_[0]} }, '0+' => sub { 1 }, '!' => sub { bless $_[0], 'IkiWiki::FailReason'}, fallback => 1, -); +); #}}} -sub new { +sub new { #{{{ bless \$_[1], $_[0]; -} +}; #}}} package IkiWiki::PageSpec; -- 2.26.2