FATAL warnings considered harmful
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
[BUG FIXES]
|
||||
|
||||
* Suggest installation of perl-core RPM (arguably Red Hat's bug not ours!)
|
||||
* FATAL warnings considered harmful
|
||||
|
||||
2.024004 - 2014-03-04
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env perl
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
use warnings;
|
||||
|
||||
our $home = ($ENV{NETDISCO_HOME} || $ENV{HOME});
|
||||
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
#!/usr/bin/env perl
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
use FindBin;
|
||||
FindBin::again();
|
||||
use Path::Class 'dir';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env perl
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
use warnings;
|
||||
|
||||
our $home = ($ENV{NETDISCO_HOME} || $ENV{HOME});
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env perl
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
use warnings;
|
||||
|
||||
BEGIN {
|
||||
if ($ENV{_} and $ENV{_} =~ m/netdisco-web-fg$/) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package App::Netdisco;
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
use warnings;
|
||||
use 5.010_000;
|
||||
|
||||
our $VERSION = '2.024004';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package App::Netdisco::DB::ExplicitLocking;
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
use warnings;
|
||||
|
||||
our %lock_modes;
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ package App::Netdisco::DB::ResultSet::Admin;
|
||||
use base 'App::Netdisco::DB::ResultSet';
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
use warnings;
|
||||
|
||||
__PACKAGE__->load_components(qw/
|
||||
+App::Netdisco::DB::ExplicitLocking
|
||||
|
||||
@@ -2,7 +2,7 @@ package App::Netdisco::DB::ResultSet::Device;
|
||||
use base 'App::Netdisco::DB::ResultSet';
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
use warnings;
|
||||
use NetAddr::IP::Lite ':lower';
|
||||
|
||||
=head1 ADDITIONAL METHODS
|
||||
|
||||
@@ -2,7 +2,7 @@ package App::Netdisco::DB::ResultSet::DeviceModule;
|
||||
use base 'App::Netdisco::DB::ResultSet';
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
use warnings;
|
||||
|
||||
=head1 ADDITIONAL METHODS
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ package App::Netdisco::DB::ResultSet::DevicePort;
|
||||
use base 'App::Netdisco::DB::ResultSet';
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
use warnings;
|
||||
|
||||
__PACKAGE__->load_components(qw/
|
||||
+App::Netdisco::DB::ExplicitLocking
|
||||
|
||||
@@ -2,7 +2,7 @@ package App::Netdisco::DB::ResultSet::DevicePortLog;
|
||||
use base 'App::Netdisco::DB::ResultSet';
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
use warnings;
|
||||
|
||||
__PACKAGE__->load_components(qw/
|
||||
+App::Netdisco::DB::ExplicitLocking
|
||||
|
||||
@@ -2,7 +2,7 @@ package App::Netdisco::DB::ResultSet::DevicePortSsid;
|
||||
use base 'App::Netdisco::DB::ResultSet';
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
use warnings;
|
||||
|
||||
__PACKAGE__->load_components(
|
||||
qw/
|
||||
|
||||
@@ -2,7 +2,7 @@ package App::Netdisco::DB::ResultSet::Node;
|
||||
use base 'App::Netdisco::DB::ResultSet';
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
use warnings;
|
||||
|
||||
__PACKAGE__->load_components(qw/
|
||||
+App::Netdisco::DB::ExplicitLocking
|
||||
|
||||
@@ -2,7 +2,7 @@ package App::Netdisco::DB::ResultSet::NodeIp;
|
||||
use base 'App::Netdisco::DB::ResultSet';
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
use warnings;
|
||||
|
||||
__PACKAGE__->load_components(qw/
|
||||
+App::Netdisco::DB::ExplicitLocking
|
||||
|
||||
@@ -2,7 +2,7 @@ package App::Netdisco::DB::ResultSet::NodeNbt;
|
||||
use base 'App::Netdisco::DB::ResultSet';
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
use warnings;
|
||||
|
||||
__PACKAGE__->load_components(qw/
|
||||
+App::Netdisco::DB::ExplicitLocking
|
||||
|
||||
@@ -2,7 +2,7 @@ package App::Netdisco::DB::ResultSet::NodeWireless;
|
||||
use base 'App::Netdisco::DB::ResultSet';
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
use warnings;
|
||||
|
||||
__PACKAGE__->load_components(qw/
|
||||
+App::Netdisco::DB::ExplicitLocking
|
||||
|
||||
@@ -2,7 +2,7 @@ package App::Netdisco::DB::ResultSet::Subnet;
|
||||
use base 'App::Netdisco::DB::ResultSet';
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
use warnings;
|
||||
|
||||
__PACKAGE__->load_components(qw/
|
||||
+App::Netdisco::DB::ExplicitLocking
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package App::Netdisco::Environment;
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
use warnings;
|
||||
|
||||
use File::ShareDir 'dist_dir';
|
||||
use Path::Class;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package App::Netdisco::Util::DNS;
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
use warnings;
|
||||
|
||||
use Dancer ':script';
|
||||
use Net::DNS;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package App::Netdisco::Web::Auth::Provider::DBIC;
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
use warnings;
|
||||
|
||||
use base 'Dancer::Plugin::Auth::Extensible::Provider::Base';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user