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);