Skip to content

Instantly share code, notes, and snippets.

@FROGGS
Created May 17, 2015 07:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FROGGS/f200d30c9cdaa58b8853 to your computer and use it in GitHub Desktop.
Save FROGGS/f200d30c9cdaa58b8853 to your computer and use it in GitHub Desktop.
~/dev/Inline-Perl5$ perl6 configure.pl6
gcc -Wall p5helper.c `perl -MExtUtils::Embed -e ccopts -e ldopts` -shared -o lib/Inline/p5helper.so -fPIC -g
~/dev/Inline-Perl5$ perl6 -Ilib t/precomp.t
Potential difficulties:
Semicolon form without 'unit' declarator is deprecated
at /home/froggs/dev/Inline-Perl5/lib/Inline/Perl5.pm6:1
------> class Inline::Perl5;⏏<EOL>
from t/precomp.t:5
1..2
Potential difficulties:
Semicolon form without 'unit' declarator is deprecated
at lib/Inline/Perl5.pm6:1
------> class Inline::Perl5;⏏<EOL>
in block <unit> at t/precomp.t:17
# Looks like you planned 2 tests, but ran 0
-------------------------------------------------------------------------
diff --git a/lib/Inline/Perl5.pm6 b/lib/Inline/Perl5.pm6
index 3253eb5..6d0f2c0 100644
--- a/lib/Inline/Perl5.pm6
+++ b/lib/Inline/Perl5.pm6
@@ -1,4 +1,4 @@
-class Inline::Perl5;
+unit class Inline::Perl5;
class Perl5Interpreter is repr('CPointer') { }
-------------------------------------------------------------------------
~/dev/Inline-Perl5$ perl6 -Ilib t/precomp.t
1..2
ok 1 -
ok 2 -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment