diff options
author | Andrew Chilton <andychilton@gmail.com> | 2008-07-05 15:52:40 +1200 |
---|---|---|
committer | Andrew Chilton <andychilton@gmail.com> | 2008-07-05 15:52:40 +1200 |
commit | 68c0b1e19dd90db236a5b9dd862ab3251c0817a0 (patch) | |
tree | 3ac48050b8aa948f88cbf4492799ed3856e0a1fd /lib/CIL/Utils.pm | |
parent | f6649a52ff5610af925818cddd720fa5945bd6b3 (diff) |
Imported Upstream version 0.5.0upstream/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 ); } |