Created
August 20, 2015 14:05
-
-
Save niner/7e9f4a7b761a94bb811b 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
diff --git a/lib/Inline/Perl5.pm6 b/lib/Inline/Perl5.pm6 | |
index 2c77835..b391e17 100644 | |
--- a/lib/Inline/Perl5.pm6 | |
+++ b/lib/Inline/Perl5.pm6 | |
@@ -683,12 +683,12 @@ method init_callbacks { | |
} | |
package v6::inline; | |
- use Sub::Name (); | |
use mro; | |
my $package_to_create; | |
sub import { | |
+ require Sub::Name; | |
my ($class, %args) = @_; | |
my $package = $package_to_create = scalar caller; | |
foreach my $constructor (@{ $args{constructors} }) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment