]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/weird_syntax_in_aggregate.pm.mdwn
formatting
[ikiwiki.git] / doc / bugs / weird_syntax_in_aggregate.pm.mdwn
1                 open (IN, "$config{wikistatedir}/aggregate" ||
2                         die "$config{wikistatedir}/aggregate: $!");
3
4 It looks like the intent was "open this file, and die if you can't", 
5 but I'm pretty sure it actually means "open this file and ignore errors
6 silently". Shouldn't this be `open(IN, $file) || die "$file: $!";`
7 (i.e. with the parens before the call to `die`)? --Ethan
8
9 > Thanks, [[done]] --[[Joey]]