Skip to content

Commit

Permalink
Use only one open::import call
Browse files Browse the repository at this point in the history
  • Loading branch information
doherty committed Jun 14, 2011
1 parent 5b0ab0c commit dd6e92a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,9 +1,9 @@
Revision history for Perl module {{$dist->name}}

{{$NEXT}}
* Internal refactoring

0.002 2011-04-21
* Add unimport()
* Expand test suite slightly

0.001 2011-04-20
Expand Down
3 changes: 1 addition & 2 deletions lib/utf8/all.pm
Expand Up @@ -50,8 +50,7 @@ sub import {
utf8::import($class);

# utf8 by default on filehandles
open::import($class, ':encoding(UTF-8)');
open::import($class, ':std');
open::import($class, ':encoding(UTF-8)', ':std');

# utf8 in @ARGV
state $have_encoded_argv = 0;
Expand Down

0 comments on commit dd6e92a

Please sign in to comment.