aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/weird_syntax_in_aggregate.pm.mdwn
blob: 632ff2c35c098ca0087477b6ac870146f91fa886 (plain)
1
2
3
4
5
6
7
8
9
		open (IN, "$config{wikistatedir}/aggregate" ||
			die "$config{wikistatedir}/aggregate: $!");

It looks like the intent was "open this file, and die if you can't", 
but I'm pretty sure it actually means "open this file and ignore errors
silently". Shouldn't this be `open(IN, $file) || die "$file: $!";`
(i.e. with the parens before the call to `die`)? --Ethan

> Thanks, [[done]] --[[Joey]]