]> git.proxmox.com Git - pve-common.git/commit
tools: fix some perlcritic lints
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 15 Oct 2021 08:36:09 +0000 (10:36 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 15 Oct 2021 08:46:06 +0000 (10:46 +0200)
commit7ac222d137e4ca5328a819167772c5306a6af07f
treeb326134370335987ca3486b72b3bb096a7eb3e38
parent7d91b7b83ebcd059a6ef1c4a88ac07937a98048a
tools: fix some perlcritic lints

- Two-argument "open" used at line 462, column 3.  See page 207 of
  PBP. (Severity: 5)
- Subroutine "new" called using indirect syntax at line 487, column
  15. See page 349 of PBP.  (Severity: 5)
- Bareword file handle opened at line 1533, column 5. See pages 202,
  204 of PBP.  (Severity: 5)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/Tools.pm