]> git.proxmox.com Git - pve-apiclient.git/commit
use two-argument bless
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 30 Nov 2020 14:03:30 +0000 (15:03 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 30 Nov 2020 14:27:22 +0000 (15:27 +0100)
commit38fbee3cdd2a0d1f9926d1586e7a22500e74bb57
treea75ab4bd172cac4d136c884b90fc2d32d973192d
parent935bbf68badb08c172c7a47a0cce83bd5cbc0950
use two-argument bless

else we'd break "inheriting" (or whatever perl does is called) to
child modules

> Never use the one-argument form of bless.
-- Perl Best Practices, Pg. 365

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