diff options
author | Andrew Chilton <andychilton@gmail.com> | 2008-07-05 15:52:40 +1200 |
---|---|---|
committer | Andrew Chilton <andychilton@gmail.com> | 2008-07-05 17:50:58 +1200 |
commit | a3f13e665421896f16859628d0876530b4cc210e (patch) | |
tree | bfb59e57eb15fe5e02bfa85111f2dbe0e46bb822 /lib/CIL/Utils.pm | |
parent | c3e2ac27a81aa8020165d27f0b7eab4fee079354 (diff) |
Imported Upstream version 0.5.0
Diffstat (limited to 'lib/CIL/Utils.pm')
-rw-r--r-- | lib/CIL/Utils.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CIL/Utils.pm b/lib/CIL/Utils.pm index e9611cf..47f7ada 100644 --- a/lib/CIL/Utils.pm +++ b/lib/CIL/Utils.pm @@ -41,7 +41,7 @@ sub parse_cil_file { my ($class, $filename, $last_field) = @_; my @lines = read_file($filename); - return unless @lines; + return {} unless @lines; return $class->parse_from_lines( $last_field, @lines ); } |