Permalink
Browse files

fix thinko

  • Loading branch information...
1 parent 1a85052 commit 1ed51c4cb12bd5e1e2b3d73b0fc5d0b793092294 @moritz moritz committed Aug 12, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 source/snippet.pl
View
@@ -15,8 +15,8 @@
open my $file, '<:raw', "$dir$fn"
or die "Cannot open '$dir$fn' for reading: $!";
-binmode $fn;
-print while <$fn>;
+binmode $file;
+print while <$file>;
close $file;

0 comments on commit 1ed51c4

Please sign in to comment.