From 5ae6a7fe3e39e8bd76b90b4687c71177a48bdc60 Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Sun, 24 Sep 2017 12:56:10 -0500 Subject: [PATCH] Corrected open() syntax. Fixes #4128, thanks to @rob-miller for the heads-up. --- lib/Slic3r/GUI/Plater.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r/GUI/Plater.pm b/lib/Slic3r/GUI/Plater.pm index 04b9df9e1..8bc43b7fe 100644 --- a/lib/Slic3r/GUI/Plater.pm +++ b/lib/Slic3r/GUI/Plater.pm @@ -2228,7 +2228,7 @@ sub send_gcode { }else{ # slurp the file we would send into a string - should be someplace to reference this but could not find it? local $/=undef; - open my ($gch,$path); + open (my $gch,$path); my $gcode=<$gch>; close($gch);