From 75a00fabe943abb5b1b5eed1b3f90860470699da Mon Sep 17 00:00:00 2001 From: nick n <39005454+inphobia@users.noreply.github.com> Date: Mon, 26 Aug 2019 13:48:50 +0200 Subject: [PATCH] also added use warnings and strict also fixed all reported errors by these, but work is still needed. stuff like sub thingy { my $thing = shift; my $stuff = $thing->os_ver(); if ($stuff =~ /check/) { -> newer perls (or perhaps just my config somehow) seems to prefer if ((defined $stuff) && ($stuff =~ /check/)) { instead. or perhaps i just don't understand autoloader magic & return type nuances. --- Changes | 1 + 1 file changed, 1 insertion(+) diff --git a/Changes b/Changes index af3f97a8..43b417ce 100644 --- a/Changes +++ b/Changes @@ -4,6 +4,7 @@ Version 3.69 (2019-xx-xx) * duplex support for ciscosb * report all vendor names in lowercase + * sprinkle "use warnings" and "use strict" around [BUG FIXES]