Created
March 19, 2011 16:44
-
-
Save dgl/877594 to your computer and use it in GitHub Desktop.
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
package Aaaaaaaa::Test::Plugin; | |
use Aaaaaaaa::Test; | |
sub import { | |
my($class) = @_; | |
goto \&{Aaaaaaaa::Test->can("import")}; | |
} | |
1; | |
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
use Aaaaaaaa::Test::Plugin; |
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
package Aaaaaaaa::Test; | |
use Test::More (); | |
sub import { | |
local $_[0] = "Test::More"; | |
goto \&{Test::More->can("import")}; | |
} | |
1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment