Hi All,
In the following code, how do I get access to the Perl 6 variables
inside the Perl 5 code?
<code>
#!/usr/bin/perl6
use Inline::Perl5;
my $p6str = "string from Perl 6";
my $perl5 = Inline::Perl5.new();
$perl5.run(' print $p6str . "\n\n"; ');
</code>
Many thanks,
-T
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Serious error.
All shortcuts have disappeared.
Screen. Mind. Both are blank.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"./InlineTest3.pl6" 14L, 178C
</code>
Many thanks,
-T
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Having been erased,
The document you're seeking
Must now be retyped.
~~~~~~~~~~~~~~~~~~~~~~~~~~~