Skip to content
Browse files

tchrist's unicode preamble

  • Loading branch information...
1 parent d79ab40 commit 425f96ab046a1f6c073dd3a9bb8d0ced134f13cf @bvr committed May 27, 2012
Showing with 9 additions and 0 deletions.
  1. +9 −0 scripts/2012-05-03-unicode-preamble.pl
View
9 scripts/2012-05-03-unicode-preamble.pl
@@ -0,0 +1,9 @@
+#!/usr/bin/env perl
+
+use utf8; # so literals and identifiers can be in UTF-8
+use v5.12; # or later to get "unicode_strings" feature
+use strict; # quote strings, declare variables
+use warnings; # on by default
+use warnings qw(FATAL utf8); # fatalize encoding glitches
+use open qw(:std :utf8); # undeclared streams in UTF-8
+use charnames qw(:full :short); # unneeded in v5.16

0 comments on commit 425f96a

Please sign in to comment.
Something went wrong with that request. Please try again.