]> git.proxmox.com Git - pve-installer.git/commit
stdio connected UI: drop perl prototype definitions
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 24 Feb 2024 16:56:26 +0000 (17:56 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 24 Feb 2024 17:00:17 +0000 (18:00 +0100)
commit70f4ffeff541b5927a4761052d2086b8627b5d09
tree2762a810c63c4286248591900bb960ed4c5df45b
parent8fcdc5b2666b71a995925f8c20aa3d0dccd75d2d
stdio connected UI: drop perl prototype definitions

The prototypes where completely circumvented by calling those two
methods by reference via &, and that probably happened as the send_msg
one was just wrong, it forced scalar context for the second parameter,
while that was a list (or well hash, but the difference there can be
blurry).

Anyhow, prototypes are not always of help, and can be a PITA with
side-effects too, and especially for such small modules it has not
that much use to declare them for privately-scoped methods, so just
drop them and fix the calling style.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Proxmox/UI/StdIO.pm