]> git.proxmox.com Git - pve-http-server.git/commit
replace junior semicolon with actual one
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 14 Apr 2023 14:38:13 +0000 (16:38 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 14 Apr 2023 14:38:35 +0000 (16:38 +0200)
commit148dc08e90eba59f0d36596fdf37d634d5503dd5
tree638eee98fafed9f32888bf51bf3f4cc4f45fd720
parent0e66194841767e23dfebf4faffbe146850f03e14
replace junior semicolon with actual one

commas can be used in two ways, quoting Perl Best Practices (PBP):

> The comma actually has two distinct roles in Perl. In a scalar
> context, it is (as those former C programmers expect) a sequencing
> operator: “do this, then do that”. But in a list context, such as
> the argument list of a print, the comma is a list separator, not
> technically an operator at all.
-- PBP, page 69

And the separating variant is called a "junior semicolon" by PBP.

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