From c2f2eed5e48ed5319c6f80bc080dfa7a4083ed46 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 2 Oct 2008 21:18:45 +0200 Subject: [PATCH] Ah those parantheses... --- UCW/Temple.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UCW/Temple.pm b/UCW/Temple.pm index 904a2cf..32453da 100644 --- a/UCW/Temple.pm +++ b/UCW/Temple.pm @@ -1,6 +1,6 @@ #!/usr/bin/perl # A really simple template engine -# (c) 2004 Martin Mares +# (c) 2004--2008 Martin Mares package UCW::Temple; @@ -164,7 +164,7 @@ sub include { sub load { my $f = shift @_; - (!defined $f || @_) and die "\@load requires only one argument"; + (!defined($f) || @_) and die "\@load requires only one argument"; require $f; } -- 2.39.5