Skip to content

Replaced deprecated given/when and smartmatch statements (producing warnings)#82

Open
log1-c wants to merge 3 commits intoaleex42:masterfrom
log1-c:master
Open

Replaced deprecated given/when and smartmatch statements (producing warnings)#82
log1-c wants to merge 3 commits intoaleex42:masterfrom
log1-c:master

Conversation

@log1-c
Copy link
Contributor

@log1-c log1-c commented Oct 21, 2025

to be fair:
as I don't "speak" perl, I let CoPilot do the work.
But the scripts do still work and produce the same output (apart from the deprecation warnings) as before

image image image image

Refactor code to use if-elsif statements instead of given-when for plugin checks. Initialize failure counters in a single line.
Added encoding and documentation headers to the script.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant