Skip to content

Commit

Permalink
markdown_preview: utf8 stuff, get rid of strict
Browse files Browse the repository at this point in the history
  • Loading branch information
trapd00r committed Jun 1, 2012
1 parent 8f6d59f commit 908b424
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion markdown_preview
@@ -1,7 +1,10 @@
#!/usr/bin/perl
use strict;
#use strict;
use Text::Markdown qw(markdown);
use File::Temp qw(tempfile);
use utf8;
use open qw(:std :utf8);


my($fh, $file) = tempfile('markdown_previewXXXX', SUFFIX => '.html');
print $fh markdown(do { local $/; <> });
Expand Down

0 comments on commit 908b424

Please sign in to comment.