Skip to content
Browse files

Fixed an issue noticed by ciphertext++

  • Loading branch information...
1 parent ab60b7f commit d852de1385f9f705e09a2e6742cc9cb1a84ec19a @snarkyboojum snarkyboojum committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/MIME/Base64.pm6
View
4 lib/MIME/Base64.pm6
@@ -6,7 +6,7 @@ class MIME::Base64 {
method encode_base64(Str $str) {
my $encoded-str = Q:PIR {
.local pmc encode
- encode = get_root_global ['parrot'; 'MIME'], 'encode_base64'
+ encode = get_root_global ['parrot'; 'MIME'; 'Base64'], 'encode_base64'
$P0 = find_lex '$str'
%r = encode($P0)
};
@@ -17,7 +17,7 @@ class MIME::Base64 {
method decode_base64(Str $str) {
my $decoded-str = Q:PIR {
.local pmc decode
- decode = get_root_global ['parrot'; 'MIME'], 'decode_base64'
+ decode = get_root_global ['parrot'; 'MIME'; 'Base64'], 'decode_base64'
$P0 = find_lex '$str'
%r = decode($P0)
};

0 comments on commit d852de1

Please sign in to comment.
Something went wrong with that request. Please try again.