From: Lukas Sichert <l.sichert@proxmox.com>
To: pve-devel@lists.proxmox.com
Cc: Lukas Sichert <l.sichert@proxmox.com>
Subject: [PATCH perl-rs v2 2/3] common: enable v5.36 in Proxmox::Lib::Common
Date: Thu, 5 Nov 2026 10:41:03 +0100 [thread overview]
Message-ID: <20261105094124.42373-3-l.sichert@proxmox.com> (raw)
In-Reply-To: <20261105094124.42373-1-l.sichert@proxmox.com>
The Proxmox style guide requires every perl module to enable strict
and warnings, but Proxmox::Lib::Common did not. Enable v5.36 as this
also includes these pragmas.
Signed-off-by: Lukas Sichert <l.sichert@proxmox.com>
---
Notes:
Changes v1 -> v2:
- enable v5.36 instead of strict and warnings
common/pkg/Proxmox/Lib/Common.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/pkg/Proxmox/Lib/Common.pm b/common/pkg/Proxmox/Lib/Common.pm
index 1e6b26d..ca358c4 100644
--- a/common/pkg/Proxmox/Lib/Common.pm
+++ b/common/pkg/Proxmox/Lib/Common.pm
@@ -22,6 +22,8 @@ whichever was loaded.
=cut
+use v5.36;
+
use vars qw(@ISA);
sub library {
--
2.47.3
next prev parent reply other threads:[~2026-11-05 9:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-05 9:41 [PATCH perl-rs/proxmox v2 0/3] perl: enable strict and warnings in modules that lack them Lukas Sichert
2026-11-05 9:41 ` [PATCH perl-rs v2 1/3] common: remove deprecated PVE::RS::CalendarEvent compat module Lukas Sichert
2026-11-05 9:41 ` Lukas Sichert [this message]
2026-11-05 9:41 ` [PATCH proxmox v2 3/3] pve-api-types: enable v5.36 in Bool Lukas Sichert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261105094124.42373-3-l.sichert@proxmox.com \
--to=l.sichert@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.