forked from dankogai/p5-encode
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix loading Encode::Alias before Encode
Calling use Encode::Alias; cased error: Undefined subroutine &Encode::define_alias called at lib/Encode.pm line 102. Compilation failed in require at lib/Encode/Alias.pm line 7. BEGIN failed--compilation aborted at lib/Encode/Alias.pm line 7. Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1. Fixes dankogai#116
- Loading branch information
Showing
4 changed files
with
22 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
use strict; | ||
use warnings; | ||
|
||
use Encode::Alias; | ||
use open ":std", ":locale"; | ||
|
||
print "1..1\n"; | ||
print "ok 1 - use Encode::Alias works\n"; |