Browse Source

Readd use strict and use warnings

Alessandro Ranellucci 10 years ago
parent
commit
5e80d7a388
3 changed files with 6 additions and 0 deletions
  1. 2 0
      lib/Slic3r/GCode/PlaceholderParser.pm
  2. 2 0
      lib/Slic3r/Layer.pm
  3. 2 0
      lib/Slic3r/Layer/Region.pm

+ 2 - 0
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

+ 2 - 0
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);

+ 2 - 0
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';