Corrected open() syntax. Fixes #4128, thanks to @rob-miller for the heads-up.

This commit is contained in:
Joseph Lenox 2017-09-24 12:56:10 -05:00
parent 29d2159e29
commit 5ae6a7fe3e

View File

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