Fix webmin sub-commands are warnings friendly

This commit is contained in:
iliajie
2022-07-02 15:52:41 +03:00
parent 85553b8136
commit e2f273d887
10 changed files with 6 additions and 20 deletions

View File

@ -2,8 +2,7 @@
# disable-proxy - Reverse/remove the configuration options set by enable-proxy.
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
BEGIN { $Pod::Usage::Formatter = 'Pod::Text::Color'; }
use 5.010; # Version in CentOS 6

View File

@ -2,8 +2,7 @@
# disable-twofactor - Disable two-factor authentication for a user.
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
BEGIN { $Pod::Usage::Formatter = 'Pod::Text::Color'; }
use 5.010; # Version in CentOS 6

View File

@ -3,8 +3,7 @@
# through a proxy.
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
BEGIN { $Pod::Usage::Formatter = 'Pod::Text::Color'; }
use 5.010; # Version in CentOS 6

View File

@ -3,8 +3,7 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
use 5.014;
use File::Spec;

View File

@ -3,8 +3,7 @@
# module.
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
BEGIN { $Pod::Usage::Formatter = 'Pod::Text::Color'; }
use 5.010; # Version in CentOS 6

View File

@ -3,8 +3,6 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
use 5.010;
use File::Basename;

View File

@ -3,8 +3,6 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
use 5.010;
use File::Basename;

View File

@ -3,8 +3,7 @@
# restart Webmin to apply the change.
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
BEGIN { $Pod::Usage::Formatter = 'Pod::Text::Color'; }
use 5.010; # Version in CentOS 6

View File

@ -3,8 +3,6 @@
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
use 5.010;

View File

@ -3,8 +3,6 @@
# functions on the command line.
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
BEGIN { $Pod::Usage::Formatter = 'Pod::Text::Color'; }
use 5.010; # Version in CentOS 6