From 5e80d7a388fa19c85bc82a1744720bed8de38864 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Thu, 12 Jun 2014 09:23:10 +0200 Subject: [PATCH] Readd use strict and use warnings --- lib/Slic3r/GCode/PlaceholderParser.pm | 2 ++ lib/Slic3r/Layer.pm | 2 ++ lib/Slic3r/Layer/Region.pm | 2 ++ 3 files changed, 6 insertions(+) diff --git a/lib/Slic3r/GCode/PlaceholderParser.pm b/lib/Slic3r/GCode/PlaceholderParser.pm index d8df755f..9f45dfe9 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 4e683da4..6d732971 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 976b049f..ae2a7c2c 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';