| commit | d0406b42d531eb2106abea364d9ed4e12293dbe6 | [log] [tgz] |
|---|---|---|
| author | Eric Wong <e@80x24.org> | Wed Nov 27 02:35:17 2024 +0000 |
| committer | Eric Wong <e@80x24.org> | Wed Nov 27 20:35:00 2024 +0000 |
| tree | 9c3ec4a65707fe4504ea1b52ed80a5d858fa1ab4 | |
| parent | 13852defff9046463d809eff1fce18efc58fb098 [diff] |
xapcmd: suppress opendir + my usage warning Apparently perl gets confused here regardless of autodie, so we add a parenthese around the subroutine call to disambiguate. This only appears to happen when the target directory name is a scalar variable and not if it's a constant and when the result of opendir isn't explicitly checked.