Last active
August 29, 2015 14:27
-
-
Save shibayu36/c9768e370c361b436006 to your computer and use it in GitHub Desktop.
Testing constant import by Test::UsedModules
This file contains hidden or 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
package Sample1; | |
use Exporter::Lite; | |
use constant HOGE => 'fuga'; | |
our @EXPORT_OK = qw(HOGE); | |
1; |
This file contains hidden or 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
package Sample2; | |
use Sample1 qw(HOGE); | |
sub hoge { | |
return HOGE; | |
} | |
1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment