Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add a stub that gives a nicer error if you try and load a Perl 5 module.

  • Loading branch information...
commit 0d2506754c612f014733591c0443698941a6dfda 1 parent b5fad60
@jnthn authored
Showing with 13 additions and 0 deletions.
  1. +13 −0 perl5.pir
View
13 perl5.pir
@@ -103,6 +103,19 @@ code.
.return ($P0)
.end
+
+=item load_library
+
+Implements the HLLCompiler library loading interface.
+
+=cut
+
+.sub 'load_library' :method
+ .param pmc name
+ .param pmc extra :named :slurpy
+ die 'Sorry, library loading from Perl 5 is not yet implemented.'
+.end
+
=back
=cut
Please sign in to comment.
Something went wrong with that request. Please try again.