|Subject:||Suggested policy: mkdir(x, 0777) is better as mkdir(x)|
In recent (all?) versions of perl, the default permission mask for mkdir() is 0777. But there's a lot of code that says mkdir($dir, 0777) or similar. This would be clearer as just mkdir($dir). A new policy could warn about mkdir with a fixed mask of 0777.