Skip to content

Commit

Permalink
Little documentation update
Browse files Browse the repository at this point in the history
  • Loading branch information
niner committed Aug 24, 2016
1 parent 83c9298 commit 7d08b32
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/Inline/Perl6.pm
Expand Up @@ -87,6 +87,16 @@ Inline::Perl6 - use the real Perl 6 from Perl 5 code
=head1 SYNOPSIS
use Inline::Perl6;
Inline::Perl6::initialize;
v6::run("say 'Hello from Perl 6'");
v6::call("say", "Hello again from Perl 6");
my $obj = v6::invoke("Some::Perl6::Class", "new", "First arg");
$obj->some_method(1, 2);
# or object oriented:
use Inline::Perl6
my $p6 = Inline::Perl6->new;
$p6->run("use Test; ok(1);");
Expand Down

0 comments on commit 7d08b32

Please sign in to comment.