Permalink
Browse files

Added test_curl.p6 for testing...

  • Loading branch information...
1 parent 2013641 commit 17074b95516ac8a000bf84321694d138e960c593 @azawawi committed Nov 16, 2012
Showing with 10 additions and 0 deletions.
  1. +10 −0 test_curl.p6
View
@@ -0,0 +1,10 @@
+#!/usr/bin/env perl6
+use v6;
+
+use NativeCall;
+
+constant LIB = 'libcurl.so';
+
+sub curl_version() returns Str is native(LIB) { ... };
+
+say "Your libcurl version is " ~ curl_version;

0 comments on commit 17074b9

Please sign in to comment.