diff --git a/lib/Slic3r/GCode/PlaceholderParser.pm b/lib/Slic3r/GCode/PlaceholderParser.pm index d8df755f08..9f45dfe9b5 100644 --- a/lib/Slic3r/GCode/PlaceholderParser.pm +++ b/lib/Slic3r/GCode/PlaceholderParser.pm @@ -1,4 +1,6 @@ package Slic3r::GCode::PlaceholderParser; +use strict; +use warnings; sub new { # TODO: move this code to C++ constructor, remove this method diff --git a/lib/Slic3r/Layer.pm b/lib/Slic3r/Layer.pm index 4e683da41a..6d732971b3 100644 --- a/lib/Slic3r/Layer.pm +++ b/lib/Slic3r/Layer.pm @@ -1,4 +1,6 @@ package Slic3r::Layer; +use strict; +use warnings; use List::Util qw(first); use Slic3r::Geometry qw(scale chained_path); diff --git a/lib/Slic3r/Layer/Region.pm b/lib/Slic3r/Layer/Region.pm index 976b049fb6..ae2a7c2c45 100644 --- a/lib/Slic3r/Layer/Region.pm +++ b/lib/Slic3r/Layer/Region.pm @@ -1,4 +1,6 @@ package Slic3r::Layer::Region; +use strict; +use warnings; use List::Util qw(sum first); use Slic3r::ExtrusionLoop ':roles';