X-Git-Url: http://git.rot13.org/?p=Printer-Zebra.git;a=blobdiff_plain;f=ZPL2pbm.pl;h=8a7c2b748f337587c2d4fdcd91786b44a98036fb;hp=e439ae49475f4587c96b48f23e0f02fd8212bd11;hb=8a149ec83ba4c04d06cf7458f68340e932d7c806;hpb=a309ae8a38feca34c95005e02d240ef0d2ec3111;ds=sidebyside diff --git a/ZPL2pbm.pl b/ZPL2pbm.pl index e439ae4..8a7c2b7 100755 --- a/ZPL2pbm.pl +++ b/ZPL2pbm.pl @@ -31,8 +31,7 @@ while( $line ) { warn "# ~DG$1 => [$name] t=$t w=$w\n"; - my $data; - read $in, $data, $t; + my $data = <$in>; my $out; # ZPL decompress